(0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:48.417448"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/0EhJjlWePU9A5HjagcqN.yiL/9fIUJT0Jd8c3NWzEHjK79rWuzBu"], ["updated_at", "2014-11-14 21:44:48.417448"]]  (0.9ms) commit transaction  (1.1ms) DELETE FROM "gringotts_attempts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_attempts';  (0.9ms) DELETE FROM "gringotts_codes";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_codes';  (0.9ms) DELETE FROM "gringotts_deliveries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'gringotts_deliveries';  (0.9ms) DELETE FROM "gringotts_settings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_settings';  (0.9ms) DELETE FROM "gringotts_vaults";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_vaults';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:48.855139"], ["expires_at", "2014-12-14 21:44:48.854156"], ["updated_at", "2014-11-14 21:44:48.855139"], ["value", "69648"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:48.862301"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$IQlfhQ4CdafrcaoYhn/m2eXgV8ibQMi6MriF1gWiQJLURzoauPLE."], ["updated_at", "2014-11-14 21:44:48.862301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo,com' LIMIT 1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_at_foo.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example.user@foo.' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:48.949926"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$vsJ.nOruV7LM5QKZyjlsP.4fB4Xpw74uArxj.b.z5dI2KCmc4m0iq"], ["updated_at", "2014-11-14 21:44:48.949926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:48.963724"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$vDkVRLaHXO1rSLJ4B7X65uPIwzT4H2bLXECgh68jcZ6wUAm.Gh3xe"], ["updated_at", "2014-11-14 21:44:48.963724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'the_user@foo.bar.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'first.last@foo.jp' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:48.994702"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$uQ.0GsY1nOgkKaS5f1sA4emWhGJZsJ0YgZh0q52bUQwCDAlVdH.dG"], ["updated_at", "2014-11-14 21:44:48.994702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.178249"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$ft3/j/ajGBnTOl4JG0IflOYLbqUe1/VfWhl4Ld3NZEbyYoadBHlF6"], ["updated_at", "2014-11-14 21:44:49.178249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.274782"], ["expires_at", "2014-12-14 21:44:49.274118"], ["updated_at", "2014-11-14 21:44:49.274782"], ["value", "80263"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.290619"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$p5.QTCqhsT31AXFfQTzJDO8etznLTcdcovtEchPdBCzJ4o3IRHiya"], ["updated_at", "2014-11-14 21:44:49.290619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.306791"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$mdyx.njD4LZN44cIV6zto.D/HZBeYh5lPLqm9J6UXwuZ5fdGR.FEi"], ["updated_at", "2014-11-14 21:44:49.306791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.326360"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$l2G2SVtS5XYs37D.bH58AeFehzq.EDK8i.AdxmexDs2S9s7kFcG9C"], ["updated_at", "2014-11-14 21:44:49.326360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.352815"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$H6AfOgNMx.B1.fhfKPu6YuobborSOD9UnsQeSXSJRLelmG.p1vC5S"], ["updated_at", "2014-11-14 21:44:49.352815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.368714"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ywdmoeSSV7ynZHhPQmy7DOL302p52HDVsOzPFd0szGqiY8PS6EiqO"], ["updated_at", "2014-11-14 21:44:49.368714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.384394"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$a7yhIT8Wa/JWI3X7X7ueoOdPQyFQcwL4JvqyVDemknjk5Rz9lbgrW"], ["updated_at", "2014-11-14 21:44:49.384394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.399659"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dKQ3dyD1ACs7fJyCR7py4ugZx/q1p.fs1nSdfliLhxirFuMaGvlWK"], ["updated_at", "2014-11-14 21:44:49.399659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.415407"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$toB6ZsCoEiBzDag6QM4FvO.pdOcYFu6oZiqxA0WPtzkzCsmM8qG8y"], ["updated_at", "2014-11-14 21:44:49.415407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.430811"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$t.09f3F6DDLVusxTqcD5TuEftOwvWl2kZNbdj5R3fU527YqZYXCaK"], ["updated_at", "2014-11-14 21:44:49.430811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.446674"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$JGfWySFiPDwcMzSOKzC5deTieIJ5t9j/mH7Ah7loMkpD9efFQK9bi"], ["updated_at", "2014-11-14 21:44:49.446674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.462135"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$KZZAeKUeQXTzqQC84CZVJuH2cKErq2vlb7hvmTvbRe/TKW88wc5XG"], ["updated_at", "2014-11-14 21:44:49.462135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.477580"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8BrhYel5n18vwcpTiiQkoODVIrS2WczJWpX3T5bTdQhV9w/S1yzKe"], ["updated_at", "2014-11-14 21:44:49.477580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (73.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.566918"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9YXxnzR4Qce4loZhH27F5e0FAAMr6CT0yFwz7DqPsudw7Vzjd7Ry6"], ["updated_at", "2014-11-14 21:44:49.566918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (4.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.587484"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ldhoGAychv4nh38SQAOnoeRk1NUTB/wRl/KrwDjGrFYbPMF4rzkFC"], ["updated_at", "2014-11-14 21:44:49.587484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.605337"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Ob2tsva1nHlkyJCe8Izrt.zVKspC2oRgRgYEQznC6ENZKGOBKv8VW"], ["updated_at", "2014-11-14 21:44:49.605337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.623351"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$iVHa8eXj7OZ1EoV6XaLDOeghb1JO4WCzh.4je0L8FWqM4f0a6KzRG"], ["updated_at", "2014-11-14 21:44:49.623351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.9ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.9ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.648180"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$yok8AWVw2MpFQacLyPRdieP0.J5/L1enQFcWXNKK0uj5inOxbtNVK"], ["updated_at", "2014-11-14 21:44:49.648180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.669608"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ujDFy3XB2mrCnzZlp2M.Te1nsp8fLWLVR.I5KenGIMIh6c5ArV3W."], ["updated_at", "2014-11-14 21:44:49.669608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.685885"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$rZS.GfDaHap7viOqRC6FreEwegGPevAWXxSLkW8sqd6D3Uq2D2l/y"], ["updated_at", "2014-11-14 21:44:49.685885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.701985"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$zEWnyCMulXdoAeDwwCRs9uQEDixmks1AJIZgmM7XCHAr8r0V4y.gu"], ["updated_at", "2014-11-14 21:44:49.701985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.717654"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ufhmv9d2tS6Ddp0qeX5yM.MQzIYA0dl4EqFTJ8nf8BfeYOx1e8uga"], ["updated_at", "2014-11-14 21:44:49.717654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.733187"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$.qklpi.2PX2wKy2UZ2qhiuQRaFBkZNJ00/kL5bc3Dm/Jr2SLippfa"], ["updated_at", "2014-11-14 21:44:49.733187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.748925"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$YoBpcoZKRMC2C0Vj5Uv3SeeoT52flYqdfZXoGY.QWKS3N19DNzt.i"], ["updated_at", "2014-11-14 21:44:49.748925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.763846"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$V19We9XjUV72MatWsPH6reKJm3UJxpSa2.2eJlDpakA5dI4STjIyW"], ["updated_at", "2014-11-14 21:44:49.763846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.785995"], ["expires_at", "2014-12-14 21:44:49.785406"], ["updated_at", "2014-11-14 21:44:49.785995"], ["value", "55932"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "55932"], ["created_at", "2014-11-14 21:44:49.787414"], ["successful", "t"], ["updated_at", "2014-11-14 21:44:49.787414"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.830355"], ["expires_at", "2014-12-14 21:44:49.829693"], ["updated_at", "2014-11-14 21:44:49.830355"], ["value", "70977"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.836524"], ["expires_at", "2014-12-14 21:44:49.835881"], ["updated_at", "2014-11-14 21:44:49.836524"], ["value", "19014"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.840780"], ["expires_at", "2014-12-14 21:44:49.840217"], ["updated_at", "2014-11-14 21:44:49.840780"], ["value", "41597"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.846320"], ["expires_at", "2014-12-14 21:44:49.845712"], ["updated_at", "2014-11-14 21:44:49.846320"], ["value", "74363"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.850480"], ["expires_at", "2014-12-14 21:44:49.849915"], ["updated_at", "2014-11-14 21:44:49.850480"], ["value", "50707"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.854665"], ["expires_at", "2014-12-14 21:44:49.854101"], ["updated_at", "2014-11-14 21:44:49.854665"], ["value", "54198"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.859903"], ["expires_at", "2014-12-14 21:44:49.859305"], ["updated_at", "2014-11-14 21:44:49.859903"], ["value", "46336"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.864379"], ["expires_at", "2014-12-14 21:44:49.863756"], ["updated_at", "2014-11-14 21:44:49.864379"], ["value", "74603"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.868979"], ["expires_at", "2014-12-14 21:44:49.868333"], ["updated_at", "2014-11-14 21:44:49.868979"], ["value", "18316"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.874644"], ["expires_at", "2014-12-14 21:44:49.874037"], ["updated_at", "2014-11-14 21:44:49.874644"], ["value", "13376"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:49.878925"], ["expires_at", "2014-12-14 21:44:49.878372"], ["updated_at", "2014-11-14 21:44:49.878925"], ["value", "62008"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.8ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (2.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.7ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(084) 791224' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:44:50.051749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(084) 791224' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (4.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:44:50.182613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '(444) 444-4444' LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.0ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.195433"], ["expires_at", "2014-12-14 21:44:50.194834"], ["updated_at", "2014-11-14 21:44:50.195433"], ["value", "46790"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "46790"], ["created_at", "2014-11-14 21:44:50.196871"], ["updated_at", "2014-11-14 21:44:50.196871"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.198435"], ["expires_at", "2014-12-14 21:44:50.197986"], ["updated_at", "2014-11-14 21:44:50.198435"], ["value", "63519"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.204264"], ["expires_at", "2014-12-14 21:44:50.203721"], ["updated_at", "2014-11-14 21:44:50.204264"], ["value", "70617"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "70617"], ["created_at", "2014-11-14 21:44:50.207746"], ["successful", "t"], ["updated_at", "2014-11-14 21:44:50.207746"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "70617"], ["created_at", "2014-11-14 21:44:50.209965"], ["updated_at", "2014-11-14 21:44:50.209965"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '70617' AND "gringotts_attempts"."successful" = 't'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.232996"], ["expires_at", "2014-12-14 21:44:50.232407"], ["updated_at", "2014-11-14 21:44:50.232996"], ["value", "45786"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "45786"], ["created_at", "2014-11-14 21:44:50.234387"], ["updated_at", "2014-11-14 21:44:50.234387"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.236770"], ["expires_at", "2014-12-14 21:44:50.236266"], ["updated_at", "2014-11-14 21:44:50.236770"], ["value", "52918"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.242346"], ["expires_at", "2014-12-14 21:44:50.241782"], ["updated_at", "2014-11-14 21:44:50.242346"], ["value", "13941"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "13941"], ["created_at", "2014-11-14 21:44:50.243642"], ["successful", "t"], ["updated_at", "2014-11-14 21:44:50.243642"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "13941"], ["created_at", "2014-11-14 21:44:50.244765"], ["updated_at", "2014-11-14 21:44:50.244765"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.255124"], ["expires_at", "2014-12-14 21:44:50.254547"], ["updated_at", "2014-11-14 21:44:50.255124"], ["value", "15784"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "15784"], ["created_at", "2014-11-14 21:44:50.256459"], ["updated_at", "2014-11-14 21:44:50.256459"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.257901"], ["expires_at", "2014-12-14 21:44:50.257481"], ["updated_at", "2014-11-14 21:44:50.257901"], ["value", "62471"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.264862"], ["expires_at", "2014-12-14 21:44:50.264357"], ["updated_at", "2014-11-14 21:44:50.264862"], ["value", "69190"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "69190"], ["created_at", "2014-11-14 21:44:50.266164"], ["successful", "t"], ["updated_at", "2014-11-14 21:44:50.266164"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "69190"], ["created_at", "2014-11-14 21:44:50.267279"], ["updated_at", "2014-11-14 21:44:50.267279"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '15784' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.278687"], ["expires_at", "2014-12-14 21:44:50.278115"], ["updated_at", "2014-11-14 21:44:50.278687"], ["value", "50311"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "50311"], ["created_at", "2014-11-14 21:44:50.280022"], ["updated_at", "2014-11-14 21:44:50.280022"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.282108"], ["expires_at", "2014-12-14 21:44:50.281039"], ["updated_at", "2014-11-14 21:44:50.282108"], ["value", "55255"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.287464"], ["expires_at", "2014-12-14 21:44:50.287000"], ["updated_at", "2014-11-14 21:44:50.287464"], ["value", "38776"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "38776"], ["created_at", "2014-11-14 21:44:50.288690"], ["successful", "t"], ["updated_at", "2014-11-14 21:44:50.288690"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "38776"], ["created_at", "2014-11-14 21:44:50.289832"], ["updated_at", "2014-11-14 21:44:50.289832"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.5ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '38776' AND "gringotts_attempts"."successful" = 't'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.301206"], ["expires_at", "2014-12-14 21:44:50.300645"], ["updated_at", "2014-11-14 21:44:50.301206"], ["value", "90420"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "90420"], ["created_at", "2014-11-14 21:44:50.302512"], ["updated_at", "2014-11-14 21:44:50.302512"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.303927"], ["expires_at", "2014-12-14 21:44:50.303510"], ["updated_at", "2014-11-14 21:44:50.303927"], ["value", "45164"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.309967"], ["expires_at", "2014-12-14 21:44:50.309455"], ["updated_at", "2014-11-14 21:44:50.309967"], ["value", "80671"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "80671"], ["created_at", "2014-11-14 21:44:50.311260"], ["successful", "t"], ["updated_at", "2014-11-14 21:44:50.311260"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "80671"], ["created_at", "2014-11-14 21:44:50.312360"], ["updated_at", "2014-11-14 21:44:50.312360"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '80671' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.325587"], ["expires_at", "2014-12-14 21:44:50.324639"], ["updated_at", "2014-11-14 21:44:50.325587"], ["value", "82501"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "82501"], ["created_at", "2014-11-14 21:44:50.328300"], ["updated_at", "2014-11-14 21:44:50.328300"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.331305"], ["expires_at", "2014-12-14 21:44:50.330526"], ["updated_at", "2014-11-14 21:44:50.331305"], ["value", "51446"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.338231"], ["expires_at", "2014-12-14 21:44:50.337659"], ["updated_at", "2014-11-14 21:44:50.338231"], ["value", "00846"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "00846"], ["created_at", "2014-11-14 21:44:50.339633"], ["updated_at", "2014-11-14 21:44:50.339633"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.351354"], ["expires_at", "2014-12-14 21:44:50.350547"], ["updated_at", "2014-11-14 21:44:50.351354"], ["value", "01449"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "01449"], ["created_at", "2014-11-14 21:44:50.354289"], ["updated_at", "2014-11-14 21:44:50.354289"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.355955"], ["expires_at", "2014-12-14 21:44:50.355489"], ["updated_at", "2014-11-14 21:44:50.355955"], ["value", "34682"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.359603"], ["expires_at", "2014-12-14 21:44:50.359143"], ["updated_at", "2014-11-14 21:44:50.359603"], ["value", "61001"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "61001"], ["created_at", "2014-11-14 21:44:50.360984"], ["updated_at", "2014-11-14 21:44:50.360984"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.371654"], ["expires_at", "2014-12-14 21:44:50.371086"], ["updated_at", "2014-11-14 21:44:50.371654"], ["value", "08736"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "08736"], ["created_at", "2014-11-14 21:44:50.372995"], ["updated_at", "2014-11-14 21:44:50.372995"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.374978"], ["expires_at", "2014-12-14 21:44:50.374421"], ["updated_at", "2014-11-14 21:44:50.374978"], ["value", "27278"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.379575"], ["expires_at", "2014-12-14 21:44:50.379092"], ["updated_at", "2014-11-14 21:44:50.379575"], ["value", "45789"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "45789"], ["created_at", "2014-11-14 21:44:50.380803"], ["updated_at", "2014-11-14 21:44:50.380803"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.383641"], ["expires_at", "2014-12-14 21:44:50.383196"], ["updated_at", "2014-11-14 21:44:50.383641"], ["value", "12362"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.392324"], ["expires_at", "2014-12-14 21:44:50.391771"], ["updated_at", "2014-11-14 21:44:50.392324"], ["value", "36097"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "36097"], ["created_at", "2014-11-14 21:44:50.394228"], ["updated_at", "2014-11-14 21:44:50.394228"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.395697"], ["expires_at", "2014-12-14 21:44:50.395265"], ["updated_at", "2014-11-14 21:44:50.395697"], ["value", "20387"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.399177"], ["expires_at", "2014-12-14 21:44:50.398706"], ["updated_at", "2014-11-14 21:44:50.399177"], ["value", "50215"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "50215"], ["created_at", "2014-11-14 21:44:50.400600"], ["updated_at", "2014-11-14 21:44:50.400600"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '50215' AND "gringotts_attempts"."successful" = 't'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.413455"], ["expires_at", "2014-12-14 21:44:50.412631"], ["updated_at", "2014-11-14 21:44:50.413455"], ["value", "47078"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "47078"], ["created_at", "2014-11-14 21:44:50.414879"], ["updated_at", "2014-11-14 21:44:50.414879"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.416317"], ["expires_at", "2014-12-14 21:44:50.415898"], ["updated_at", "2014-11-14 21:44:50.416317"], ["value", "95382"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.420537"], ["expires_at", "2014-12-14 21:44:50.420070"], ["updated_at", "2014-11-14 21:44:50.420537"], ["value", "51745"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "51745"], ["created_at", "2014-11-14 21:44:50.421748"], ["updated_at", "2014-11-14 21:44:50.421748"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '51745' AND "gringotts_attempts"."successful" = 't'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.433925"], ["expires_at", "2014-12-14 21:44:50.433309"], ["updated_at", "2014-11-14 21:44:50.433925"], ["value", "52708"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "52708"], ["created_at", "2014-11-14 21:44:50.435389"], ["updated_at", "2014-11-14 21:44:50.435389"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.436924"], ["expires_at", "2014-12-14 21:44:50.436487"], ["updated_at", "2014-11-14 21:44:50.436924"], ["value", "94509"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.442344"], ["expires_at", "2014-11-14 21:14:50.441748"], ["updated_at", "2014-11-14 21:44:50.442344"], ["value", "68541"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "68541"], ["created_at", "2014-11-14 21:44:50.443884"], ["updated_at", "2014-11-14 21:44:50.443884"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.453315"], ["expires_at", "2014-12-14 21:44:50.452701"], ["updated_at", "2014-11-14 21:44:50.453315"], ["value", "85968"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "85968"], ["created_at", "2014-11-14 21:44:50.455274"], ["updated_at", "2014-11-14 21:44:50.455274"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.456798"], ["expires_at", "2014-12-14 21:44:50.456348"], ["updated_at", "2014-11-14 21:44:50.456798"], ["value", "02023"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.460431"], ["expires_at", "2014-11-14 21:14:50.459997"], ["updated_at", "2014-11-14 21:44:50.460431"], ["value", "05276"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "05276"], ["created_at", "2014-11-14 21:44:50.461646"], ["updated_at", "2014-11-14 21:44:50.461646"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.3ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.472007"], ["expires_at", "2014-12-14 21:44:50.471434"], ["updated_at", "2014-11-14 21:44:50.472007"], ["value", "47957"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "47957"], ["created_at", "2014-11-14 21:44:50.473327"], ["updated_at", "2014-11-14 21:44:50.473327"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.474761"], ["expires_at", "2014-12-14 21:44:50.474343"], ["updated_at", "2014-11-14 21:44:50.474761"], ["value", "00929"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.478204"], ["expires_at", "2014-11-14 21:14:50.477793"], ["updated_at", "2014-11-14 21:44:50.478204"], ["value", "89029"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "89029"], ["created_at", "2014-11-14 21:44:50.479394"], ["updated_at", "2014-11-14 21:44:50.479394"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.489364"], ["expires_at", "2014-12-14 21:44:50.488795"], ["updated_at", "2014-11-14 21:44:50.489364"], ["value", "80138"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "80138"], ["created_at", "2014-11-14 21:44:50.490714"], ["updated_at", "2014-11-14 21:44:50.490714"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.493124"], ["expires_at", "2014-12-14 21:44:50.492288"], ["updated_at", "2014-11-14 21:44:50.493124"], ["value", "78409"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.497054"], ["expires_at", "2014-11-14 21:14:50.496327"], ["updated_at", "2014-11-14 21:44:50.497054"], ["value", "21647"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "21647"], ["created_at", "2014-11-14 21:44:50.498946"], ["updated_at", "2014-11-14 21:44:50.498946"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.513662"], ["expires_at", "2014-12-14 21:44:50.512832"], ["updated_at", "2014-11-14 21:44:50.513662"], ["value", "31631"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "31631"], ["created_at", "2014-11-14 21:44:50.516128"], ["updated_at", "2014-11-14 21:44:50.516128"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.518193"], ["expires_at", "2014-12-14 21:44:50.517670"], ["updated_at", "2014-11-14 21:44:50.518193"], ["value", "81458"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.522638"], ["expires_at", "2014-11-14 21:14:50.522199"], ["updated_at", "2014-11-14 21:44:50.522638"], ["value", "53252"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "53252"], ["created_at", "2014-11-14 21:44:50.523909"], ["updated_at", "2014-11-14 21:44:50.523909"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:44:50.536309"], ["expires_at", "2014-11-14 21:14:50.535699"], ["updated_at", "2014-11-14 21:44:50.536309"], ["value", "32721"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.129718"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$O.SOdiAEwuKfrsRKpd.a.eCfTQ0bzTui8nCVKhvfiYiijF3R.OYFi"], ["updated_at", "2014-11-14 21:51:06.129718"]]  (0.9ms) commit transaction  (1.3ms) DELETE FROM "gringotts_attempts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_attempts';  (0.9ms) DELETE FROM "gringotts_codes";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_codes';  (0.9ms) DELETE FROM "gringotts_deliveries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_deliveries';  (1.1ms) DELETE FROM "gringotts_settings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'gringotts_settings';  (0.9ms) DELETE FROM "gringotts_vaults";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_vaults';  (1.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.4ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:06.750679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.754894"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:06.754894"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '15555555555' AND "gringotts_settings"."id" != 1) LIMIT 1 SQL (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = ?, "updated_at" = ? WHERE "gringotts_settings"."id" = 1 [["phone_number", "15555555555"], ["updated_at", "2014-11-14 21:51:06.767101"]] Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.774563"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$Tfnm9DYyEZoObO2t1ESvROGqmX8VXHqvNNvbocAEAtxNm5.MZ2HDa"], ["updated_at", "2014-11-14 21:51:06.774563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'the_user@foo.bar.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'first.last@foo.jp' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo,com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_at_foo.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example.user@foo.' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.802758"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$zw3D9piUoLUw5BTvALKg/.g6k25FAamS5HRftgIqhizoE5Kp4P3Cy"], ["updated_at", "2014-11-14 21:51:06.802758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.809568"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$G/HIig19Gf.Uodht6KKdl.CrLMCbU.uemStmoMvtXaPt0FsxWvjDS"], ["updated_at", "2014-11-14 21:51:06.809568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.843646"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$wjYn/xYfNXgasjQxvQOC/./F.Ud0VzLLsnnEfwXXAfYrfAtKTyfLi"], ["updated_at", "2014-11-14 21:51:06.843646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.849867"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$rMQGnytLVyvD5LFhV0yZh.2Thakn0OV7thzA3B9w/883WNraFuo8G"], ["updated_at", "2014-11-14 21:51:06.849867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:06.858857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (1.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.873787"], ["expires_at", "2014-12-14 21:51:06.873108"], ["updated_at", "2014-11-14 21:51:06.873787"], ["value", "88155"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.878822"], ["expires_at", "2014-12-14 21:51:06.878213"], ["updated_at", "2014-11-14 21:51:06.878822"], ["value", "38810"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.884341"], ["expires_at", "2014-12-14 21:51:06.883682"], ["updated_at", "2014-11-14 21:51:06.884341"], ["value", "11798"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.888637"], ["expires_at", "2014-12-14 21:51:06.888028"], ["updated_at", "2014-11-14 21:51:06.888637"], ["value", "96349"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.893058"], ["expires_at", "2014-12-14 21:51:06.892440"], ["updated_at", "2014-11-14 21:51:06.893058"], ["value", "85574"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.898850"], ["expires_at", "2014-12-14 21:51:06.898136"], ["updated_at", "2014-11-14 21:51:06.898850"], ["value", "39656"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.903278"], ["expires_at", "2014-12-14 21:51:06.902707"], ["updated_at", "2014-11-14 21:51:06.903278"], ["value", "98881"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.908563"], ["expires_at", "2014-12-14 21:51:06.907936"], ["updated_at", "2014-11-14 21:51:06.908563"], ["value", "44789"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.913234"], ["expires_at", "2014-12-14 21:51:06.912590"], ["updated_at", "2014-11-14 21:51:06.913234"], ["value", "69789"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.918705"], ["expires_at", "2014-12-14 21:51:06.918070"], ["updated_at", "2014-11-14 21:51:06.918705"], ["value", "70629"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.923269"], ["expires_at", "2014-12-14 21:51:06.922571"], ["updated_at", "2014-11-14 21:51:06.923269"], ["value", "93828"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.929135"], ["expires_at", "2014-12-14 21:51:06.928488"], ["updated_at", "2014-11-14 21:51:06.929135"], ["value", "64059"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.946261"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:06.946261"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:06.971457"], ["expires_at", "2014-11-14 21:56:06.971129"], ["updated_at", "2014-11-14 21:51:06.971457"], ["value", "80172"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.062315"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.062315"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.065861"], ["expires_at", "2014-11-14 21:56:07.065571"], ["updated_at", "2014-11-14 21:51:07.065861"], ["value", "66822"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.069882"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 21:51:07.069882"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:07.071508"], ["updated_at", "2014-11-14 21:51:07.072819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.082825"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.082825"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.086398"], ["expires_at", "2014-11-14 21:56:07.086075"], ["updated_at", "2014-11-14 21:51:07.086398"], ["value", "44900"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.089094"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 21:51:07.089094"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.099220"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.099220"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.102901"], ["expires_at", "2014-11-14 21:56:07.102609"], ["updated_at", "2014-11-14 21:51:07.102901"], ["value", "43664"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.105307"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 21:51:07.105307"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.114891"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.114891"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.118518"], ["expires_at", "2014-11-14 21:56:07.118222"], ["updated_at", "2014-11-14 21:51:07.118518"], ["value", "23778"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.121002"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 21:51:07.121002"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.131023"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.131023"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.134543"], ["expires_at", "2014-11-14 21:56:07.134256"], ["updated_at", "2014-11-14 21:51:07.134543"], ["value", "87188"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.136921"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 21:51:07.136921"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:07.137837"], ["updated_at", "2014-11-14 21:51:07.138740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.148467"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.148467"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.151843"], ["expires_at", "2014-11-14 21:56:07.151549"], ["updated_at", "2014-11-14 21:51:07.151843"], ["value", "92717"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.154184"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 21:51:07.154184"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.163922"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.163922"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.167441"], ["expires_at", "2014-11-14 21:56:07.167130"], ["updated_at", "2014-11-14 21:51:07.167441"], ["value", "71673"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.169874"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 21:51:07.169874"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:07.170821"], ["updated_at", "2014-11-14 21:51:07.171723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.182091"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.182091"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.185434"], ["expires_at", "2014-11-14 21:56:07.185153"], ["updated_at", "2014-11-14 21:51:07.185434"], ["value", "44636"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.188423"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", "2014-11-14 21:51:07.188423"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", "2014-11-14 21:51:07.191059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.201026"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.201026"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.204449"], ["expires_at", "2014-11-14 21:56:07.204146"], ["updated_at", "2014-11-14 21:51:07.204449"], ["value", "08110"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.207794"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", "2014-11-14 21:51:07.207794"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", "2014-11-14 21:51:07.210708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.221057"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.221057"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.224769"], ["expires_at", "2014-11-14 21:56:07.224480"], ["updated_at", "2014-11-14 21:51:07.224769"], ["value", "13913"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:07.227166"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", "2014-11-14 21:51:07.227166"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", "2014-11-14 21:51:07.229196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.239268"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.239268"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.242829"], ["expires_at", "2014-11-14 21:56:07.242531"], ["updated_at", "2014-11-14 21:51:07.242829"], ["value", "68871"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.254929"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.254929"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.258426"], ["expires_at", "2014-11-14 21:56:07.258130"], ["updated_at", "2014-11-14 21:51:07.258426"], ["value", "27431"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.290281"], ["expires_at", "2014-12-14 21:51:07.289648"], ["updated_at", "2014-11-14 21:51:07.290281"], ["value", "83336"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.5ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.342569"], ["expires_at", "2014-11-14 21:21:07.341886"], ["updated_at", "2014-11-14 21:51:07.342569"], ["value", "91525"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.365831"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$sEct5Q73G44PC7la3Xcf/emjupqWhY/2X3u40Pvco48NT23LDZlce"], ["updated_at", "2014-11-14 21:51:07.365831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.375174"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.375174"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.382937"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$wXWpvqpwUjj4rSvNpUiNkuH7jRc4PbYI5/pWqkerKOe3oVzuKdreq"], ["updated_at", "2014-11-14 21:51:07.382937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.391566"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.391566"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.399303"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$M1Hq/TcS7o7WGRJSvdj1J.4/fprkJdlIO0KR68RIznFajYOZiUe7S"], ["updated_at", "2014-11-14 21:51:07.399303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.408680"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.408680"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.415756"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$I.uJSL0h3QcG1xE7JENDH.zgb37RrOS8KovdP1Ue8WeSsAOe29U5a"], ["updated_at", "2014-11-14 21:51:07.415756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.424766"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.424766"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.431714"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$vLp73By9svpZNIol.0my/ePanFcs70ceY.W0ZBjT7KDzLNu2ETj0K"], ["updated_at", "2014-11-14 21:51:07.431714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.440098"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.440098"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.7ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:07.441073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.449713"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$yXVKlfXTxWvrm7l64BhXZ.oEt4CXDieVRIYRfrclFc2d/BIOWJA36"], ["updated_at", "2014-11-14 21:51:07.449713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.459043"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.459043"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:21:07.460629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.468221"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ZXIneJEEJnIWmFyFfeB1OuqYynVLqyhl5gZo5RDbjNOwyGIqHufoq"], ["updated_at", "2014-11-14 21:51:07.468221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.476444"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.476444"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:07.477959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.488484"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$NQF7A6ql4H5YV/yjPxmnxuZc/cTBoTvY8l1yFHX1zwMYEjRuXbHSK"], ["updated_at", "2014-11-14 21:51:07.488484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.498005"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.498005"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.500104"], ["expires_at", "2014-11-14 21:56:07.499821"], ["updated_at", "2014-11-14 21:51:07.500104"], ["value", "12133"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.511301"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$7Gc0130LZmjSJqEP2VeJuOJ4eKK0ZGCofLvBKlsj/ws2qlRaVGY9S"], ["updated_at", "2014-11-14 21:51:07.511301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.520429"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.520429"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.530883"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$xIIAx20aPbJK5mSOO8GPZOFMrUj3894k0XyG.CA7hofgebrCfCFkC"], ["updated_at", "2014-11-14 21:51:07.530883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.543651"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.543651"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.550894"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0yIt.hydRQbAzzAgYm7zm.ae/J9uP4Tp/EH97CDgdyfqPCvi7yWaq"], ["updated_at", "2014-11-14 21:51:07.550894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.560447"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.560447"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:07.564508"], ["updated_at", "2014-11-14 21:51:07.564508"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:07.568174"], ["updated_at", "2014-11-14 21:51:07.568174"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.574756"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$TrDAOxcc8VfI/JQ3GGmFOuZAQpfSRtEk/YqqDG5UkEd8BkIbeu.fC"], ["updated_at", "2014-11-14 21:51:07.574756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.584485"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.584485"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:07.586218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.593248"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0jBxgt/KQJdfpaE6t8Cj3OOS6j2.W6Rak0g/FL8nsQvwP4hu6xDTu"], ["updated_at", "2014-11-14 21:51:07.593248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.602187"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.602187"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.604689"], ["expires_at", "2014-11-14 21:56:07.604383"], ["updated_at", "2014-11-14 21:51:07.604689"], ["value", "76076"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.613874"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0Ig2.BpX.sBY6Pk62TWS7O22EgqTRm06msu4H3jnlHqzYsZGLU5jS"], ["updated_at", "2014-11-14 21:51:07.613874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.632751"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.632751"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.634900"], ["expires_at", "2014-11-14 21:56:07.634582"], ["updated_at", "2014-11-14 21:51:07.634900"], ["value", "48968"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.642735"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$BKoNPg3tU7BHpkb7p5hio.jxwy5p7nCavesTTRRiA051Ge4pfTDXW"], ["updated_at", "2014-11-14 21:51:07.642735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.733047"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.733047"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:07.734139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:07.738054"], ["updated_at", "2014-11-14 21:51:07.738054"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:07.741088"], ["updated_at", "2014-11-14 21:51:07.741088"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:07.744472') [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.751435"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$T7F684q3nYIaul.irLsqLuxo2QM8LX3o56hy4uw2v1zjOl/JgKK.."], ["updated_at", "2014-11-14 21:51:07.751435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.760554"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.760554"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.766812"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$s9FDHWQEEDz9NN6Vsla3T.TxhsEx7fRWGig9gXb8QENSQLcBjAXy2"], ["updated_at", "2014-11-14 21:51:07.766812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.776122"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.776122"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:07.777037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.783984"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1qrTHzdnVl0uJ.8brU7UfeqHYUpOrGadhq4A8ojFBIRV0rfY6j4DW"], ["updated_at", "2014-11-14 21:51:07.783984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.6ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.793146"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.793146"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:07.794073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.801560"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$GCs0N8hUMnu0ld3m4016Ler1g6fgxymdnU4H5ysVzqkYgGaHl53am"], ["updated_at", "2014-11-14 21:51:07.801560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.809492"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.809492"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.816576"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$i4pRHWG6Cr6Y1SG.Tvyy4udbn30WcgTiO2Qaj8jBuuSoPZlgCtog6"], ["updated_at", "2014-11-14 21:51:07.816576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.824783"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.824783"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.834090"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$fsEBedPukeYomzjbX.3sie26lFOY0ZZWbVgjlFuEwMJVkJLFP3xj."], ["updated_at", "2014-11-14 21:51:07.834090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.842663"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.842663"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.848977"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FuyoDo.hOxrPdi8Eyb3o0.tXKuwIcP1VMDOPCdm.j5lxpOr8Teidi"], ["updated_at", "2014-11-14 21:51:07.848977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.857923"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.857923"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:07.858865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:07.862536"], ["updated_at", "2014-11-14 21:51:07.862536"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:07.865543"], ["updated_at", "2014-11-14 21:51:07.865543"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:07.868445"], ["updated_at", "2014-11-14 21:51:07.868445"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:07.870035') [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.876393"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$UWEirjxbmacHzOQ/MgOev.WPXV7.vMRoDguUfru2y7sz5yTI.v95."], ["updated_at", "2014-11-14 21:51:07.876393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.885127"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.885127"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:07.886011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.893953"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$v.GIQ90ciA70iVnPpYdi.u2iw1I5w5mlCmSP1DJJ5ALWUBZKJF1u6"], ["updated_at", "2014-11-14 21:51:07.893953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.901762"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:07.901762"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '18005551212' AND "gringotts_settings"."id" != 1) LIMIT 1 SQL (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = ?, "updated_at" = ? WHERE "gringotts_settings"."id" = 1 [["phone_number", "18005551212"], ["updated_at", "2014-11-14 21:51:07.903757"]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.6ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.920587"], ["expires_at", "2014-12-14 21:51:07.920007"], ["updated_at", "2014-11-14 21:51:07.920587"], ["value", "87064"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "87064"], ["created_at", "2014-11-14 21:51:07.921901"], ["updated_at", "2014-11-14 21:51:07.921901"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.923322"], ["expires_at", "2014-12-14 21:51:07.922905"], ["updated_at", "2014-11-14 21:51:07.923322"], ["value", "31690"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.930288"], ["expires_at", "2014-12-14 21:51:07.929701"], ["updated_at", "2014-11-14 21:51:07.930288"], ["value", "16532"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "16532"], ["created_at", "2014-11-14 21:51:07.931704"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:07.931704"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "16532"], ["created_at", "2014-11-14 21:51:07.932889"], ["updated_at", "2014-11-14 21:51:07.932889"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.945781"], ["expires_at", "2014-12-14 21:51:07.945195"], ["updated_at", "2014-11-14 21:51:07.945781"], ["value", "57436"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "57436"], ["created_at", "2014-11-14 21:51:07.947116"], ["updated_at", "2014-11-14 21:51:07.947116"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.948541"], ["expires_at", "2014-12-14 21:51:07.948124"], ["updated_at", "2014-11-14 21:51:07.948541"], ["value", "00042"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.954218"], ["expires_at", "2014-12-14 21:51:07.953706"], ["updated_at", "2014-11-14 21:51:07.954218"], ["value", "23538"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "23538"], ["created_at", "2014-11-14 21:51:07.955478"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:07.955478"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "23538"], ["created_at", "2014-11-14 21:51:07.956610"], ["updated_at", "2014-11-14 21:51:07.956610"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '23538' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.9ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.968665"], ["expires_at", "2014-12-14 21:51:07.968078"], ["updated_at", "2014-11-14 21:51:07.968665"], ["value", "63173"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "63173"], ["created_at", "2014-11-14 21:51:07.969993"], ["updated_at", "2014-11-14 21:51:07.969993"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.971422"], ["expires_at", "2014-12-14 21:51:07.971002"], ["updated_at", "2014-11-14 21:51:07.971422"], ["value", "29300"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.977151"], ["expires_at", "2014-12-14 21:51:07.976600"], ["updated_at", "2014-11-14 21:51:07.977151"], ["value", "54629"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "54629"], ["created_at", "2014-11-14 21:51:07.978444"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:07.978444"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "54629"], ["created_at", "2014-11-14 21:51:07.979541"], ["updated_at", "2014-11-14 21:51:07.979541"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '54629' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.991325"], ["expires_at", "2014-12-14 21:51:07.990750"], ["updated_at", "2014-11-14 21:51:07.991325"], ["value", "72258"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "72258"], ["created_at", "2014-11-14 21:51:07.992666"], ["updated_at", "2014-11-14 21:51:07.992666"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:07.994088"], ["expires_at", "2014-12-14 21:51:07.993663"], ["updated_at", "2014-11-14 21:51:07.994088"], ["value", "95378"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.000080"], ["expires_at", "2014-12-14 21:51:07.999568"], ["updated_at", "2014-11-14 21:51:08.000080"], ["value", "90465"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "90465"], ["created_at", "2014-11-14 21:51:08.001528"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:08.001528"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "90465"], ["created_at", "2014-11-14 21:51:08.002746"], ["updated_at", "2014-11-14 21:51:08.002746"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '72258' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.0ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.014423"], ["expires_at", "2014-12-14 21:51:08.013834"], ["updated_at", "2014-11-14 21:51:08.014423"], ["value", "24199"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "24199"], ["created_at", "2014-11-14 21:51:08.015766"], ["updated_at", "2014-11-14 21:51:08.015766"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.017254"], ["expires_at", "2014-12-14 21:51:08.016821"], ["updated_at", "2014-11-14 21:51:08.017254"], ["value", "74343"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.023075"], ["expires_at", "2014-12-14 21:51:08.022548"], ["updated_at", "2014-11-14 21:51:08.023075"], ["value", "93766"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "93766"], ["created_at", "2014-11-14 21:51:08.024502"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:08.024502"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "93766"], ["created_at", "2014-11-14 21:51:08.025625"], ["updated_at", "2014-11-14 21:51:08.025625"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '93766' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.037597"], ["expires_at", "2014-12-14 21:51:08.037020"], ["updated_at", "2014-11-14 21:51:08.037597"], ["value", "34513"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "34513"], ["created_at", "2014-11-14 21:51:08.038928"], ["updated_at", "2014-11-14 21:51:08.038928"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.040350"], ["expires_at", "2014-12-14 21:51:08.039931"], ["updated_at", "2014-11-14 21:51:08.040350"], ["value", "71778"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.044423"], ["expires_at", "2014-11-14 21:21:08.043969"], ["updated_at", "2014-11-14 21:51:08.044423"], ["value", "12599"], ["vault_id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "12599"], ["created_at", "2014-11-14 21:51:08.046336"], ["updated_at", "2014-11-14 21:51:08.046336"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.058755"], ["expires_at", "2014-12-14 21:51:08.056103"], ["updated_at", "2014-11-14 21:51:08.058755"], ["value", "11180"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "11180"], ["created_at", "2014-11-14 21:51:08.061423"], ["updated_at", "2014-11-14 21:51:08.061423"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.063200"], ["expires_at", "2014-12-14 21:51:08.062643"], ["updated_at", "2014-11-14 21:51:08.063200"], ["value", "78069"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.069172"], ["expires_at", "2014-11-14 21:21:08.068687"], ["updated_at", "2014-11-14 21:51:08.069172"], ["value", "78105"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "78105"], ["created_at", "2014-11-14 21:51:08.070514"], ["updated_at", "2014-11-14 21:51:08.070514"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.079241"], ["expires_at", "2014-12-14 21:51:08.078680"], ["updated_at", "2014-11-14 21:51:08.079241"], ["value", "31947"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "31947"], ["created_at", "2014-11-14 21:51:08.080680"], ["updated_at", "2014-11-14 21:51:08.080680"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.082214"], ["expires_at", "2014-12-14 21:51:08.081766"], ["updated_at", "2014-11-14 21:51:08.082214"], ["value", "76916"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.085990"], ["expires_at", "2014-11-14 21:21:08.085544"], ["updated_at", "2014-11-14 21:51:08.085990"], ["value", "16473"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "16473"], ["created_at", "2014-11-14 21:51:08.087281"], ["updated_at", "2014-11-14 21:51:08.087281"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.097942"], ["expires_at", "2014-12-14 21:51:08.097367"], ["updated_at", "2014-11-14 21:51:08.097942"], ["value", "12551"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "12551"], ["created_at", "2014-11-14 21:51:08.099290"], ["updated_at", "2014-11-14 21:51:08.099290"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.100955"], ["expires_at", "2014-12-14 21:51:08.100332"], ["updated_at", "2014-11-14 21:51:08.100955"], ["value", "10047"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.104574"], ["expires_at", "2014-11-14 21:21:08.104156"], ["updated_at", "2014-11-14 21:51:08.104574"], ["value", "58119"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "58119"], ["created_at", "2014-11-14 21:51:08.105755"], ["updated_at", "2014-11-14 21:51:08.105755"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.114990"], ["expires_at", "2014-12-14 21:51:08.114413"], ["updated_at", "2014-11-14 21:51:08.114990"], ["value", "03748"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "03748"], ["created_at", "2014-11-14 21:51:08.116330"], ["updated_at", "2014-11-14 21:51:08.116330"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.117772"], ["expires_at", "2014-12-14 21:51:08.117353"], ["updated_at", "2014-11-14 21:51:08.117772"], ["value", "42755"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.121158"], ["expires_at", "2014-11-14 21:21:08.120758"], ["updated_at", "2014-11-14 21:51:08.121158"], ["value", "75664"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "75664"], ["created_at", "2014-11-14 21:51:08.122452"], ["updated_at", "2014-11-14 21:51:08.122452"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.133536"], ["expires_at", "2014-12-14 21:51:08.132817"], ["updated_at", "2014-11-14 21:51:08.133536"], ["value", "19305"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "19305"], ["created_at", "2014-11-14 21:51:08.134989"], ["updated_at", "2014-11-14 21:51:08.134989"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.136515"], ["expires_at", "2014-12-14 21:51:08.136066"], ["updated_at", "2014-11-14 21:51:08.136515"], ["value", "99921"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.140052"], ["expires_at", "2014-12-14 21:51:08.139599"], ["updated_at", "2014-11-14 21:51:08.140052"], ["value", "28999"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "28999"], ["created_at", "2014-11-14 21:51:08.141251"], ["updated_at", "2014-11-14 21:51:08.141251"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.152355"], ["expires_at", "2014-12-14 21:51:08.151764"], ["updated_at", "2014-11-14 21:51:08.152355"], ["value", "60830"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "60830"], ["created_at", "2014-11-14 21:51:08.153704"], ["updated_at", "2014-11-14 21:51:08.153704"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.155255"], ["expires_at", "2014-12-14 21:51:08.154700"], ["updated_at", "2014-11-14 21:51:08.155255"], ["value", "79754"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.158912"], ["expires_at", "2014-12-14 21:51:08.158455"], ["updated_at", "2014-11-14 21:51:08.158912"], ["value", "50510"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "50510"], ["created_at", "2014-11-14 21:51:08.160158"], ["updated_at", "2014-11-14 21:51:08.160158"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.170611"], ["expires_at", "2014-12-14 21:51:08.170017"], ["updated_at", "2014-11-14 21:51:08.170611"], ["value", "86053"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "86053"], ["created_at", "2014-11-14 21:51:08.172023"], ["updated_at", "2014-11-14 21:51:08.172023"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.173464"], ["expires_at", "2014-12-14 21:51:08.173040"], ["updated_at", "2014-11-14 21:51:08.173464"], ["value", "04783"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.177232"], ["expires_at", "2014-12-14 21:51:08.176762"], ["updated_at", "2014-11-14 21:51:08.177232"], ["value", "48363"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "48363"], ["created_at", "2014-11-14 21:51:08.178633"], ["updated_at", "2014-11-14 21:51:08.178633"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '48363' AND "gringotts_attempts"."successful" = 't'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.189932"], ["expires_at", "2014-12-14 21:51:08.189329"], ["updated_at", "2014-11-14 21:51:08.189932"], ["value", "52207"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "52207"], ["created_at", "2014-11-14 21:51:08.191380"], ["updated_at", "2014-11-14 21:51:08.191380"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.192942"], ["expires_at", "2014-12-14 21:51:08.192480"], ["updated_at", "2014-11-14 21:51:08.192942"], ["value", "21346"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.196491"], ["expires_at", "2014-12-14 21:51:08.196039"], ["updated_at", "2014-11-14 21:51:08.196491"], ["value", "61090"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "61090"], ["created_at", "2014-11-14 21:51:08.197661"], ["updated_at", "2014-11-14 21:51:08.197661"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.200726"], ["expires_at", "2014-12-14 21:51:08.200218"], ["updated_at", "2014-11-14 21:51:08.200726"], ["value", "97670"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.211507"], ["expires_at", "2014-12-14 21:51:08.210749"], ["updated_at", "2014-11-14 21:51:08.211507"], ["value", "54210"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "54210"], ["created_at", "2014-11-14 21:51:08.213837"], ["updated_at", "2014-11-14 21:51:08.213837"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.215396"], ["expires_at", "2014-12-14 21:51:08.214943"], ["updated_at", "2014-11-14 21:51:08.215396"], ["value", "16360"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.224831"], ["expires_at", "2014-12-14 21:51:08.224118"], ["updated_at", "2014-11-14 21:51:08.224831"], ["value", "93285"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "93285"], ["created_at", "2014-11-14 21:51:08.226310"], ["updated_at", "2014-11-14 21:51:08.226310"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '93285' AND "gringotts_attempts"."successful" = 't'  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (8.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.264426"], ["expires_at", "2014-12-14 21:51:08.263787"], ["updated_at", "2014-11-14 21:51:08.264426"], ["value", "45830"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "45830"], ["created_at", "2014-11-14 21:51:08.265935"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:08.265935"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.277567"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:08.277567"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:08.282012"], ["expires_at", "2014-11-14 21:56:08.281692"], ["updated_at", "2014-11-14 21:51:08.282012"], ["value", "30637"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (1.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:12.775284"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qmaplIoMlrp2YUZ8pMRXQumNIi97.7JBV.3Pofj7pvcNh0JHwpI/."], ["updated_at", "2014-11-14 21:51:12.775284"]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:12 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (1.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (85.5ms) Rendered layouts/_navigation.html.erb (1.8ms) Rendered layouts/_messages.html.erb (0.7ms) Completed 200 OK in 155ms (Views: 133.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 4ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:13.402243"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$JopmtHljX2cuZ/EYXq7TSeCxZ3FZctnlwGcVSFKAL0eoLZ/GXIgdC"], ["updated_at", "2014-11-14 21:51:13.402243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:13.437199"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:13.437199"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:13.438608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 1.1ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:13.492044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 7.2ms | ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:13.646737"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0HtFUoazgugULz1bJZ7Eu.yyWzFQ48nGMiobPIEa0pchR2e/ClCai"], ["updated_at", "2014-11-14 21:51:13.646737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'wrong@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 2ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:13.861204"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$aCMNUoTzXW3rWGhOFEzpmuMbtiKJAVeQyJBcH1h.hGxJ6TmYZm2tG"], ["updated_at", "2014-11-14 21:51:13.861204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 3ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:14.009892"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$yEtZB5U/zWmByahE9SwsdOmJqt.OUTbvMwx/lPRrLUUn0BgePMYny"], ["updated_at", "2014-11-14 21:51:14.009892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:14.028430"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:14.028430"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:14.028858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:14.042555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.3ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:14.220655"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Jv4IXbwpKm4SryKeOQ70uu2FNnULsEsUZC7ngNPRjSPj4ub69uAKa"], ["updated_at", "2014-11-14 21:51:14.220655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:14.222951"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:14.222951"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:14.223396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 70ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:14.305201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.6ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' ORDER BY "users"."id" ASC LIMIT 1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"notanemail", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 6.0ms | ActiveRecord: 0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (5.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 6.9ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 6.1ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 6.2ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:14.822897"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$28Ef2/VVMlz24AQPEiNea.OTh9667XNlNR9qHO/KJhmuII7cAMrrC"], ["updated_at", "2014-11-14 21:51:14.822897"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (1.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:14.844947"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:14.844947"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:14.845388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:14.859399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.3ms) Started PUT "/users" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::RegistrationsController#edit as HTML Completed 401 Unauthorized in 0ms Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.050100"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$IQRyY3t4rza7Uc7vdTdJFee.nTU0FI7RhgeAxykA2B6HePnNukpm6"], ["updated_at", "2014-11-14 21:51:15.050100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:15.069086"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:15.069086"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:15.069530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:15.087403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.135017"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:15.135017"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.173827"], ["expires_at", "2014-11-14 21:56:15.173380"], ["updated_at", "2014-11-14 21:51:15.173827"], ["value", "91478"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:15.315468"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:15.315468"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:15.317992"], ["updated_at", "2014-11-14 21:51:15.320074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 189ms (Views: 10.8ms | ActiveRecord: 3.1ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"91478"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '91478' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "91478"], ["created_at", "2014-11-14 21:51:15.412237"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:15.412237"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:15.413623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 14ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.0ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:15.459803"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:15.460291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.478320"], ["expires_at", "2014-11-14 21:56:15.477883"], ["updated_at", "2014-11-14 21:51:15.478320"], ["value", "51998"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:15.482296"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:15.482296"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:15.483335"], ["updated_at", "2014-11-14 21:51:15.484253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.3ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 6.0ms | ActiveRecord: 1.5ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.504831"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jg5EU2MhOQOCB68N6FtfI.GyaAzPhOey2.K3aLiNb8y6aw5she9.K"], ["updated_at", "2014-11-14 21:51:15.504831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:15.526257"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:15.526257"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:15.526702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:15.545017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.586855"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:15.586855"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.595126"], ["expires_at", "2014-11-14 21:56:15.594539"], ["updated_at", "2014-11-14 21:51:15.595126"], ["value", "47468"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:15.599499"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:15.599499"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:15.600906"], ["updated_at", "2014-11-14 21:51:15.601976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"47468"}, "commit"=>"Verify Code"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '47468' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "47468"], ["created_at", "2014-11-14 21:51:15.624889"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:15.624889"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:15.626057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 13ms (ActiveRecord: 1.4ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (69.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 75ms (Views: 71.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:15.735149"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:15.735643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.751416"], ["expires_at", "2014-11-14 21:56:15.751033"], ["updated_at", "2014-11-14 21:51:15.751416"], ["value", "21620"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:15.755234"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:15.755234"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:15.756286"], ["updated_at", "2014-11-14 21:51:15.757821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 3.3ms | ActiveRecord: 1.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.777269"], ["expires_at", "2014-11-14 21:56:15.776887"], ["updated_at", "2014-11-14 21:51:15.777269"], ["value", "71541"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:15.780886"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:15.780886"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:15.781817"], ["updated_at", "2014-11-14 21:51:15.782696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.3ms | ActiveRecord: 1.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.798697"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$W0AU1LUqyrTwGbKsO7W9he0J4PR/C1smJDOAlxHqLJ4d4oqpJMnHm"], ["updated_at", "2014-11-14 21:51:15.798697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:15.821256"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:15.821256"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:15.821741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:15.835705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.872164"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:15.872164"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:15.879105"], ["expires_at", "2014-11-14 21:56:15.878804"], ["updated_at", "2014-11-14 21:51:15.879105"], ["value", "69805"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:15.882341"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:15.882341"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:15.883320"], ["updated_at", "2014-11-14 21:51:15.884276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.6ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"69805"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '69805' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "69805"], ["created_at", "2014-11-14 21:51:15.902201"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:15.902201"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:15.903284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (76.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 81ms (Views: 80.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:16.017786"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:16.018359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.031271"], ["expires_at", "2014-11-14 21:56:16.030942"], ["updated_at", "2014-11-14 21:51:16.031271"], ["value", "91890"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:16.034682"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:16.034682"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:16.035622"], ["updated_at", "2014-11-14 21:51:16.036548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.3ms | ActiveRecord: 1.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.054799"], ["expires_at", "2014-11-14 21:56:16.054482"], ["updated_at", "2014-11-14 21:51:16.054799"], ["value", "37389"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:16.058132"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:16.058132"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:16.059073"], ["updated_at", "2014-11-14 21:51:16.059966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.3ms | ActiveRecord: 1.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.075684"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1BiaQJmiCLPYTs.hrPl9KewyP.RaexDRsiWbuTPWyYestJI34pkd6"], ["updated_at", "2014-11-14 21:51:16.075684"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:16.099032"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:16.099032"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:16.099479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:16.114056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.151190"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:16.151190"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.157905"], ["expires_at", "2014-11-14 21:56:16.157614"], ["updated_at", "2014-11-14 21:51:16.157905"], ["value", "13811"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:16.161147"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:16.161147"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:16.162217"], ["updated_at", "2014-11-14 21:51:16.163348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"13811"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '13811' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "13811"], ["created_at", "2014-11-14 21:51:16.181199"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:16.181199"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:16.182281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:16.225474"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:16.225936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 80ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.317892"], ["expires_at", "2014-11-14 21:56:16.317386"], ["updated_at", "2014-11-14 21:51:16.317892"], ["value", "32356"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:16.325430"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:16.325430"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:16.326955"], ["updated_at", "2014-11-14 21:51:16.328054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 3.7ms | ActiveRecord: 1.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.346771"], ["expires_at", "2014-11-14 21:56:16.346450"], ["updated_at", "2014-11-14 21:51:16.346771"], ["value", "49779"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:16.350140"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:16.350140"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:16.351091"], ["updated_at", "2014-11-14 21:51:16.352003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.3ms | ActiveRecord: 1.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.367476"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dbUKJ4.qxIsXPL3LplGVH.d.XAGWxTprt6LujZZbOTTfL21NUtzWS"], ["updated_at", "2014-11-14 21:51:16.367476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:16.392526"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:16.392526"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:16.392992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:16.406818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.444113"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:16.444113"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.451070"], ["expires_at", "2014-11-14 21:56:16.450780"], ["updated_at", "2014-11-14 21:51:16.451070"], ["value", "43876"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:16.454339"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:16.454339"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:16.455391"], ["updated_at", "2014-11-14 21:51:16.456378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"43876"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '43876' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "43876"], ["created_at", "2014-11-14 21:51:16.474145"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:16.474145"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:16.475285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:16.513861"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:16.514351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.531040"], ["expires_at", "2014-11-14 21:56:16.530696"], ["updated_at", "2014-11-14 21:51:16.531040"], ["value", "19797"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:16.534591"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:16.534591"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:16.535600"], ["updated_at", "2014-11-14 21:51:16.536939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 3.6ms | ActiveRecord: 1.7ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 91ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.671555"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$X7zEgdlcAFP0RDoDHTpPy.bH9t2UTA2qgMUCAQyU9bWjCZEHCSPOu"], ["updated_at", "2014-11-14 21:51:16.671555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:16.694289"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:16.694289"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:16.694872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:16.709195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.746852"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:16.746852"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.753648"], ["expires_at", "2014-11-14 21:56:16.753353"], ["updated_at", "2014-11-14 21:51:16.753648"], ["value", "78671"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:16.756833"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:16.756833"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:16.757747"], ["updated_at", "2014-11-14 21:51:16.758753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.4ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"78671"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '78671' AND "gringotts_attempts"."successful" = 't'  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "78671"], ["created_at", "2014-11-14 21:51:16.844471"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:16.844471"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:16.845675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.877664"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8Udw1MghKkKpUYaktJOEZu7JHQQhmb8fdzX6NvEOOj06qkf3bBsMK"], ["updated_at", "2014-11-14 21:51:16.877664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.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 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:16.907583"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:16.907583"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:16.908098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:16.921283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.6ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:16.947001"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1upTfGF.ugN2MKsxfoVCr.S8n0CWKkYgSgR49MivuKC.UCXK1u3ei"], ["updated_at", "2014-11-14 21:51:16.947001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:16.976756"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:16.976756"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:16.977244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:16 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:17.059650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:17.097613"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$OORYB27khszU/kJM1XN3Ae.xM/usJ9Wm8WhkTy5Jak5VT7/tcJkB2"], ["updated_at", "2014-11-14 21:51:17.097613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:17.122672"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:17.122672"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:17.123196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:17.137993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:17.174982"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:17.174982"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:17.181649"], ["expires_at", "2014-11-14 21:56:17.181353"], ["updated_at", "2014-11-14 21:51:17.181649"], ["value", "30358"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:17.184823"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:17.184823"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:17.185739"], ["updated_at", "2014-11-14 21:51:17.186905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:17.299934"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:17.300506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:17.349206"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1hb3rC4DKezRBaOwobHrB.nUejhXzngep5Ee8zTMiuXC8AH3q7nse"], ["updated_at", "2014-11-14 21:51:17.349206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:17.378894"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:17.378894"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:17.379748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:17.395263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:17.522149"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:17.522730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:17.547522"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$J8otzMxUesq0K3nq530TueTT7.jbOTCCuYUkUdEFOtS6qpCJ66B4u"], ["updated_at", "2014-11-14 21:51:17.547522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.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 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:17.577374"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:17.577374"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:17.577901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:17.592665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:17.732008"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Lc8awgncUt5W0hpsUyF9WeetkuS6Zv0D.WsmT/hm9onRI6QWJ9com"], ["updated_at", "2014-11-14 21:51:17.732008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:17.752044"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:17.752044"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:17.752479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:17.770786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.8ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:17.811025"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:17.811025"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:17.817913"], ["expires_at", "2014-11-14 21:56:17.817617"], ["updated_at", "2014-11-14 21:51:17.817913"], ["value", "88916"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:17.821382"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:17.821382"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:17.822569"], ["updated_at", "2014-11-14 21:51:17.823527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"88916"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '88916' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "88916"], ["created_at", "2014-11-14 21:51:17.841597"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:17.841597"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:17.842692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:17.953915"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$g4AaggVdZcSrdSrLJwZp3Of4uGnVUyzf5EjwVzbztMJZ8E8iD7hpi"], ["updated_at", "2014-11-14 21:51:17.953915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:17.972318"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:17.972318"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:17.972750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:17.989604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:17 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.028392"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:18.028392"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.035393"], ["expires_at", "2014-11-14 21:56:18.035095"], ["updated_at", "2014-11-14 21:51:18.035393"], ["value", "34017"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:18.038577"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:18.038577"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:18.039725"], ["updated_at", "2014-11-14 21:51:18.040700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"34017"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '34017' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "34017"], ["created_at", "2014-11-14 21:51:18.058282"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:18.058282"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:18.059350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.184295"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$6iKZcAeisMa7hrRTwMaJYO4YyxP3SVdcgP7Lw5NCpTZtSqPSPEwwm"], ["updated_at", "2014-11-14 21:51:18.184295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:18.214095"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:18.214095"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:18.215217"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:18.233683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.272395"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:18.272395"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.279356"], ["expires_at", "2014-11-14 21:56:18.279040"], ["updated_at", "2014-11-14 21:51:18.279356"], ["value", "71847"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:18.282701"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:18.282701"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:18.283901"], ["updated_at", "2014-11-14 21:51:18.284896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.6ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"71847"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '71847' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "71847"], ["created_at", "2014-11-14 21:51:18.303040"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:18.303040"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:18.304148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (3.3ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 11ms (Views: 6.2ms | ActiveRecord: 0.4ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.353320"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$YLT3CZmPBBlZOVYUzq7t8uPgwYHnkM31t.QrzSRzwVVrP546DvfJW"], ["updated_at", "2014-11-14 21:51:18.353320"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:18.373601"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:18.373601"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:18.374032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:18.387347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 80ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.505967"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:18.505967"], ["vault_id", 1]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.514945"], ["expires_at", "2014-11-14 21:56:18.514632"], ["updated_at", "2014-11-14 21:51:18.514945"], ["value", "79730"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:18.518818"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:18.518818"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:18.519860"], ["updated_at", "2014-11-14 21:51:18.520834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"79730"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '79730' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "79730"], ["created_at", "2014-11-14 21:51:18.539807"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:18.539807"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:18.540923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/authentication/disable" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#disable as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "gringotts_settings" WHERE "gringotts_settings"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.3ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.633683"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$HVrh7nYhcNpDuPLEIYpdNeRhav.AOxgHniDz.YSHr9IhzPSTg6uXW"], ["updated_at", "2014-11-14 21:51:18.633683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:18.665903"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:18.665903"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:18.666380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:18.748789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.788666"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$tiIprUhAQ40r3DRYHpigIOs/RGtRTT1IyGChYIHhWdv7jsINs87sS"], ["updated_at", "2014-11-14 21:51:18.788666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:18.811630"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:18.811630"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:18.812142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:18.826572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.857098"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0wk/C/p756d/xrSsDgg0DehqgDNI6kgjlJ5hA9VErNjBk6EeyEjJK"], ["updated_at", "2014-11-14 21:51:18.857098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:18.877640"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:18.877640"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:18.878121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:18.891888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:18.997994"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$cUSBD5vc8A2XIBeFX/07hOmxfOccRloclhrCjdWr9BmNNWriIZMfG"], ["updated_at", "2014-11-14 21:51:18.997994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:19.020431"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:19.020431"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:19.020870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:19.035263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"(406) 444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14064444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.062950"], ["phone_number", "14064444444"], ["updated_at", "2014-11-14 21:51:19.062950"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.070111"], ["expires_at", "2014-11-14 21:56:19.069805"], ["updated_at", "2014-11-14 21:51:19.070111"], ["value", "30393"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:19.073391"], ["phone_number", "14064444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:19.073391"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:19.074646"], ["updated_at", "2014-11-14 21:51:19.076052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 4.9ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.097713"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FD/HiiwtsroqKSQ0S4EIDuzHm.CXVlzN0DxOFIZGMx9T0W9.oshV."], ["updated_at", "2014-11-14 21:51:19.097713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 21:51:19.191278"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:19.191278"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:19.191798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 21:51:19.208645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.7ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.252434"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:19.252434"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.259280"], ["expires_at", "2014-11-14 21:56:19.258980"], ["updated_at", "2014-11-14 21:51:19.259280"], ["value", "39054"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:19.262478"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:19.262478"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:19.263580"], ["updated_at", "2014-11-14 21:51:19.264538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.4ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.281940"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Om3u/5AM8LAIGQSEEaMzfeSSVEXX0IFX17GWD8tUlf9wAEWO92pEy"], ["updated_at", "2014-11-14 21:51:19.281940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:19.300638"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:19.300638"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:19.301066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:19.319292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.5ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>""}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 0.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.450815"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PTyZirtTmVtCyhdGCNqRQuuTRYX/RprNxyu.o.mNHPG2XkbmZIjKK"], ["updated_at", "2014-11-14 21:51:19.450815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:19.469383"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:19.469383"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:19.469833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:19.488253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.8ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"12345"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 3.3ms | ActiveRecord: 0.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.554169"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$x/khksghenEX0c1YD460UeJuEvku.qbKpIYhUDppS1AYjST.Gai0m"], ["updated_at", "2014-11-14 21:51:19.554169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:19.653554"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:19.653554"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:19.654098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:19.668373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.697417"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:19.697417"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.704651"], ["expires_at", "2014-11-14 21:56:19.704349"], ["updated_at", "2014-11-14 21:51:19.704651"], ["value", "19068"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (1.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:19.707961"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:19.707961"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:19.711842"], ["updated_at", "2014-11-14 21:51:19.713776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 20ms (Views: 4.3ms | ActiveRecord: 2.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.742974"], ["expires_at", "2014-11-14 21:56:19.742683"], ["updated_at", "2014-11-14 21:51:19.742974"], ["value", "79412"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:19.746141"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:19.746141"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:19.747053"], ["updated_at", "2014-11-14 21:51:19.747946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.3ms | ActiveRecord: 1.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.766162"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$iuNK8xbaVjwYPdSaR4ygSuTPgAX8AhWvu7IE6y9HxZ0kinVYRW72m"], ["updated_at", "2014-11-14 21:51:19.766162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:19.785705"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:19.785705"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:19.786193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:19.799472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.836702"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:19.836702"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.843515"], ["expires_at", "2014-11-14 21:56:19.843224"], ["updated_at", "2014-11-14 21:51:19.843515"], ["value", "84839"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:19.846704"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:19.846704"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:19.847611"], ["updated_at", "2014-11-14 21:51:19.848631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.4ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"84839"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '84839' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "84839"], ["created_at", "2014-11-14 21:51:19.866073"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:19.866073"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:19.867139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 78ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.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 2014-11-14 16:51:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:19.975191"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:19.975666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:19.989642"], ["expires_at", "2014-11-14 21:56:19.989160"], ["updated_at", "2014-11-14 21:51:19.989642"], ["value", "32677"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:19.994712"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:19.994712"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:19.995827"], ["updated_at", "2014-11-14 21:51:19.996905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 3.6ms | ActiveRecord: 1.8ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.024994"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$lOZMtQe0M3sKNCHFwptMLOU9FmD5WDqaCtvmfX52cUYcMrO4uuTQy"], ["updated_at", "2014-11-14 21:51:20.024994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:20.046721"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:20.046721"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:20.047334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:20.062565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.100291"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:20.100291"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.175460"], ["expires_at", "2014-11-14 21:56:20.175124"], ["updated_at", "2014-11-14 21:51:20.175460"], ["value", "64348"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:20.178906"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:20.178906"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:20.179860"], ["updated_at", "2014-11-14 21:51:20.180796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.8ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"64348"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '64348' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "64348"], ["created_at", "2014-11-14 21:51:20.200186"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:20.200186"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:20.201354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (3.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 4.8ms | ActiveRecord: 3.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:20.254160"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:20.254633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.271837"], ["expires_at", "2014-11-14 21:56:20.271515"], ["updated_at", "2014-11-14 21:51:20.271837"], ["value", "70386"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:20.275423"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:20.275423"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:20.276614"], ["updated_at", "2014-11-14 21:51:20.277607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 3.5ms | ActiveRecord: 1.5ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.305390"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$A381iV66mVahzYQFn624HeRMgq/9j7wFIkYPsPNtk8rLDcTWqpJrO"], ["updated_at", "2014-11-14 21:51:20.305390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:20.337450"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:20.337450"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:20.338189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:20.359695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.467192"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:20.467192"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.474434"], ["expires_at", "2014-11-14 21:56:20.474129"], ["updated_at", "2014-11-14 21:51:20.474434"], ["value", "11912"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:20.477738"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:20.477738"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:20.478871"], ["updated_at", "2014-11-14 21:51:20.479853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"11912"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '11912' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "11912"], ["created_at", "2014-11-14 21:51:20.497859"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:20.497859"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:20.498976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.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 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:20.539859"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:20.540327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (1.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.556230"], ["expires_at", "2014-11-14 21:56:20.555804"], ["updated_at", "2014-11-14 21:51:20.556230"], ["value", "13308"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:20.560732"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:20.560732"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:20.561753"], ["updated_at", "2014-11-14 21:51:20.562732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 3.2ms | ActiveRecord: 2.6ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.590745"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$S3aNoyMNVUReMYYp1avhY.iNtVPyMPZTCbALC6a7eMPcCDBp6K/zW"], ["updated_at", "2014-11-14 21:51:20.590745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:20.697380"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:20.697380"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:20.697912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:20.712369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.722838"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$VB.dy1FGNJafkQQk.csYn.0jZi79zglroMs5xIZT3qyouYXvMKsLi"], ["updated_at", "2014-11-14 21:51:20.722838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 21:51:20.742731"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:20.742731"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:20.743179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 21:51:20.759066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.799712"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:20.799712"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.806659"], ["expires_at", "2014-11-14 21:56:20.806367"], ["updated_at", "2014-11-14 21:51:20.806659"], ["value", "06359"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:20.809864"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:20.809864"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:20.810906"], ["updated_at", "2014-11-14 21:51:20.811896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:20.832733"], ["updated_at", "2014-11-14 21:51:20.832733"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.840094"], ["expires_at", "2014-11-14 21:56:20.839800"], ["updated_at", "2014-11-14 21:51:20.840094"], ["value", "71927"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:20.843262"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:20.843262"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:20.844380"], ["updated_at", "2014-11-14 21:51:20.845318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.6ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:20.865374"], ["updated_at", "2014-11-14 21:51:20.865374"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.872982"], ["expires_at", "2014-11-14 21:56:20.872699"], ["updated_at", "2014-11-14 21:51:20.872982"], ["value", "26508"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:20.876077"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:20.876077"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:20.877300"], ["updated_at", "2014-11-14 21:51:20.878242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.7ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:20.894768"], ["updated_at", "2014-11-14 21:51:20.894768"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:20.901306"], ["expires_at", "2014-11-14 21:56:20.901041"], ["updated_at", "2014-11-14 21:51:20.901306"], ["value", "32949"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 21:51:20.904392"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:20.904392"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 21:51:20.905316"], ["updated_at", "2014-11-14 21:51:20.906504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.2ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:21.000939"], ["updated_at", "2014-11-14 21:51:21.000939"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:21 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:21.021319"], ["expires_at", "2014-11-14 21:56:21.020898"], ["updated_at", "2014-11-14 21:51:21.021319"], ["value", "98509"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 5], ["created_at", "2014-11-14 21:51:21.025796"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:21.025796"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 5 [["delivered_at", "2014-11-14 21:51:21.026989"], ["updated_at", "2014-11-14 21:51:21.028091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 4.8ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:21 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:21.047085"], ["updated_at", "2014-11-14 21:51:21.047085"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:21 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:21.055358"], ["expires_at", "2014-11-14 21:56:21.055044"], ["updated_at", "2014-11-14 21:51:21.055358"], ["value", "45718"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 6], ["created_at", "2014-11-14 21:51:21.058959"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:21.058959"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 6 [["delivered_at", "2014-11-14 21:51:21.060363"], ["updated_at", "2014-11-14 21:51:21.061496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.6ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:21 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (592.9ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:22.475794"], ["updated_at", "2014-11-14 21:51:22.475794"], ["vault_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 1998ms (ActiveRecord: 593.6ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.077698"], ["expires_at", "2014-11-14 21:56:23.077367"], ["updated_at", "2014-11-14 21:51:23.077698"], ["value", "77494"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 7], ["created_at", "2014-11-14 21:51:23.081429"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.081429"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 7 [["delivered_at", "2014-11-14 21:51:23.082389"], ["updated_at", "2014-11-14 21:51:23.083294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.3ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.099715"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$MiCIl3MtjNKfVT1fQNns/eOjysfOcErzrigRmIvheqDCJF2HQP3Ki"], ["updated_at", "2014-11-14 21:51:23.099715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:23.117669"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:23.117669"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:23.118100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:23.135445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 4.5ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.176672"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:23.176672"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.183389"], ["expires_at", "2014-11-14 21:56:23.183098"], ["updated_at", "2014-11-14 21:51:23.183389"], ["value", "47669"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:23.186556"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.186556"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:23.187469"], ["updated_at", "2014-11-14 21:51:23.188527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.4ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"47669"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '47669' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "47669"], ["created_at", "2014-11-14 21:51:23.206287"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:23.206287"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:23.207435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 79ms (Views: 74.7ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:23.321346"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:23.322318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.342907"], ["expires_at", "2014-11-14 21:56:23.342560"], ["updated_at", "2014-11-14 21:51:23.342907"], ["value", "28950"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:23.346644"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.346644"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:23.347769"], ["updated_at", "2014-11-14 21:51:23.348768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 3.5ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:23.366377"], ["updated_at", "2014-11-14 21:51:23.366377"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:23.369128') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.377883"], ["expires_at", "2014-11-14 21:56:23.377529"], ["updated_at", "2014-11-14 21:51:23.377883"], ["value", "60522"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:23.381404"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.381404"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:23.382379"], ["updated_at", "2014-11-14 21:51:23.383290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.4ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:23.402742"], ["updated_at", "2014-11-14 21:51:23.402742"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:23.404304') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.411530"], ["expires_at", "2014-11-14 21:56:23.411247"], ["updated_at", "2014-11-14 21:51:23.411530"], ["value", "54036"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 21:51:23.415145"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.415145"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 21:51:23.416106"], ["updated_at", "2014-11-14 21:51:23.417108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.1ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:23.432863"], ["updated_at", "2014-11-14 21:51:23.432863"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:23.434272') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:23.434940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.466892"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/L8jrXFrriQO2PX3ym8abuiwQuJj0ge42IEn7N3.hK1ODctU5Yuom"], ["updated_at", "2014-11-14 21:51:23.466892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:23.566651"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:23.566651"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:23.567179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:23.581662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.619979"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:23.619979"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.627056"], ["expires_at", "2014-11-14 21:56:23.626682"], ["updated_at", "2014-11-14 21:51:23.627056"], ["value", "22390"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:23.632427"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.632427"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:23.633978"], ["updated_at", "2014-11-14 21:51:23.635086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 18ms (Views: 3.5ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"22390"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '22390' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "22390"], ["created_at", "2014-11-14 21:51:23.658056"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:23.658056"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:23.659859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 12ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:23.696739"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:23.697186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.708621"], ["expires_at", "2014-11-14 21:56:23.708091"], ["updated_at", "2014-11-14 21:51:23.708621"], ["value", "64750"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:23.711803"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.711803"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:23.712715"], ["updated_at", "2014-11-14 21:51:23.713618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:23.728845"], ["updated_at", "2014-11-14 21:51:23.728845"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:23.730293') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.736734"], ["expires_at", "2014-11-14 21:56:23.736454"], ["updated_at", "2014-11-14 21:51:23.736734"], ["value", "65068"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:23.739978"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.739978"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:23.740932"], ["updated_at", "2014-11-14 21:51:23.741887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.9ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:23.756940"], ["updated_at", "2014-11-14 21:51:23.756940"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:23.758337') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.764734"], ["expires_at", "2014-11-14 21:56:23.764458"], ["updated_at", "2014-11-14 21:51:23.764734"], ["value", "13409"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 21:51:23.767891"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.767891"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 21:51:23.768954"], ["updated_at", "2014-11-14 21:51:23.769883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.9ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:23.856401"], ["updated_at", "2014-11-14 21:51:23.856401"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:23.858034') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:23.858852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 81ms (ActiveRecord: 1.2ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.904652"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$HLVjte9lKKJk101IDD9NT.hfeZoi74F/BaIhLGcpMcJorhnSELxga"], ["updated_at", "2014-11-14 21:51:23.904652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (6.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:23.928419"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:23.928419"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:23.928859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:23.943561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.980819"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:23.980819"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:23.987558"], ["expires_at", "2014-11-14 21:56:23.987266"], ["updated_at", "2014-11-14 21:51:23.987558"], ["value", "70622"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:23.990764"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:23.990764"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:23.991680"], ["updated_at", "2014-11-14 21:51:23.992930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.4ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"70622"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '70622' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "70622"], ["created_at", "2014-11-14 21:51:24.010595"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:24.010595"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:24.011687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:24.045650"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:24.046097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 71ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.127900"], ["expires_at", "2014-11-14 21:56:24.127564"], ["updated_at", "2014-11-14 21:51:24.127900"], ["value", "61610"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:24.131343"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.131343"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:24.132311"], ["updated_at", "2014-11-14 21:51:24.133239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.4ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:24.149702"], ["updated_at", "2014-11-14 21:51:24.149702"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:24.151153') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.157980"], ["expires_at", "2014-11-14 21:56:24.157697"], ["updated_at", "2014-11-14 21:51:24.157980"], ["value", "44968"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:24.161301"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.161301"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:24.162279"], ["updated_at", "2014-11-14 21:51:24.163236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.0ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:24.178410"], ["updated_at", "2014-11-14 21:51:24.178410"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:24.179821') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.186253"], ["expires_at", "2014-11-14 21:56:24.185979"], ["updated_at", "2014-11-14 21:51:24.186253"], ["value", "70426"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 21:51:24.189441"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.189441"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 21:51:24.190396"], ["updated_at", "2014-11-14 21:51:24.191326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.9ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:24.206711"], ["updated_at", "2014-11-14 21:51:24.206711"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:24.208159') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:24.208867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 11ms (ActiveRecord: 1.2ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.254064"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PH0VV..qG5YbFqFh.0M4hOnM5xncO7L.WRK/2w3JjygvHHEl2/vYq"], ["updated_at", "2014-11-14 21:51:24.254064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.0ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.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 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:24.276266"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:24.276266"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:24.276731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:24.290959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.404287"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:24.404287"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.411820"], ["expires_at", "2014-11-14 21:56:24.411510"], ["updated_at", "2014-11-14 21:51:24.411820"], ["value", "39329"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:24.415650"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.415650"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:24.416837"], ["updated_at", "2014-11-14 21:51:24.417995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 4.6ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"39329"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '39329' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "39329"], ["created_at", "2014-11-14 21:51:24.439718"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:24.439718"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:24.440821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:24.476374"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:24.476840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.488542"], ["expires_at", "2014-11-14 21:56:24.488244"], ["updated_at", "2014-11-14 21:51:24.488542"], ["value", "71254"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:24.491759"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.491759"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:24.492652"], ["updated_at", "2014-11-14 21:51:24.493534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:24.509856"], ["updated_at", "2014-11-14 21:51:24.509856"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:24.511855') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.518946"], ["expires_at", "2014-11-14 21:56:24.518666"], ["updated_at", "2014-11-14 21:51:24.518946"], ["value", "81188"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:24.522217"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.522217"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:24.523167"], ["updated_at", "2014-11-14 21:51:24.524079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.2ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:24.539569"], ["updated_at", "2014-11-14 21:51:24.539569"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:24.540976') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.547592"], ["expires_at", "2014-11-14 21:56:24.547304"], ["updated_at", "2014-11-14 21:51:24.547592"], ["value", "98432"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 21:51:24.550821"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.550821"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 21:51:24.551785"], ["updated_at", "2014-11-14 21:51:24.552719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.9ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:24.567660"], ["updated_at", "2014-11-14 21:51:24.567660"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:24.569089') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (8.4ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:24.569825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 18ms (ActiveRecord: 9.5ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.746699"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$CRiSNJPQVzOyBxFyIvl39.8Xmn.79rs5oBJfAseCTyY9eS2nUPbVK"], ["updated_at", "2014-11-14 21:51:24.746699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (17.6ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:24.768933"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:24.768933"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:24.769525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 25ms (ActiveRecord: 18.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.8ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:24.807949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (3.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 7.3ms | ActiveRecord: 1.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.854686"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:24.854686"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.861814"], ["expires_at", "2014-11-14 21:56:24.861514"], ["updated_at", "2014-11-14 21:51:24.861814"], ["value", "06556"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:24.865110"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.865110"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:24.866351"], ["updated_at", "2014-11-14 21:51:24.867327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"06556"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '06556' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "06556"], ["created_at", "2014-11-14 21:51:24.885632"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:24.885632"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.8ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:24.886882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 11ms (ActiveRecord: 1.9ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.4ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:24.923193"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:24.923634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.934889"], ["expires_at", "2014-11-14 21:56:24.934466"], ["updated_at", "2014-11-14 21:51:24.934889"], ["value", "38557"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:24.938077"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.938077"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:24.938974"], ["updated_at", "2014-11-14 21:51:24.939844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.0ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:24.954973"], ["updated_at", "2014-11-14 21:51:24.954973"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:24.956398') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:24.962850"], ["expires_at", "2014-11-14 21:56:24.962578"], ["updated_at", "2014-11-14 21:51:24.962850"], ["value", "52210"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:24.965898"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:24.965898"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:24.967001"], ["updated_at", "2014-11-14 21:51:24.967933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.9ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:25.054310"], ["updated_at", "2014-11-14 21:51:25.054310"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:25.055877') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.063159"], ["expires_at", "2014-11-14 21:56:25.062858"], ["updated_at", "2014-11-14 21:51:25.063159"], ["value", "57351"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 21:51:25.066691"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:25.066691"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 21:51:25.067683"], ["updated_at", "2014-11-14 21:51:25.068622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:25.084799"], ["updated_at", "2014-11-14 21:51:25.084799"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:25.086224') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:25.086913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.131771"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$TjReHqHULuO08LdOeJjEeOm4OKLPBnnJsEZjRDAXkDo7F079fXkwy"], ["updated_at", "2014-11-14 21:51:25.131771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.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 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:25.157009"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:25.157009"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:25.157515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:25.171723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.211565"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:25.211565"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.218898"], ["expires_at", "2014-11-14 21:56:25.218600"], ["updated_at", "2014-11-14 21:51:25.218898"], ["value", "82539"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:25.222070"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:25.222070"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:25.223170"], ["updated_at", "2014-11-14 21:51:25.224100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"82539"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '82539' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "82539"], ["created_at", "2014-11-14 21:51:25.241761"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:25.241761"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 21:51:25.242890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.4ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:25.360108"], ["sign_in_count", 2], ["updated_at", "2014-11-14 21:51:25.360595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.372747"], ["expires_at", "2014-11-14 21:56:25.372425"], ["updated_at", "2014-11-14 21:51:25.372747"], ["value", "20338"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:25.376104"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:25.376104"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:25.377061"], ["updated_at", "2014-11-14 21:51:25.377984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.2ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:25.393743"], ["updated_at", "2014-11-14 21:51:25.393743"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:25.395226') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.401820"], ["expires_at", "2014-11-14 21:56:25.401544"], ["updated_at", "2014-11-14 21:51:25.401820"], ["value", "92415"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 21:51:25.405247"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:25.405247"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 21:51:25.406212"], ["updated_at", "2014-11-14 21:51:25.407141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:25.422587"], ["updated_at", "2014-11-14 21:51:25.422587"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:25.424009') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.430527"], ["expires_at", "2014-11-14 21:56:25.430257"], ["updated_at", "2014-11-14 21:51:25.430527"], ["value", "44000"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 21:51:25.433824"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:25.433824"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 21:51:25.434792"], ["updated_at", "2014-11-14 21:51:25.435712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.9ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 21:51:25.450867"], ["updated_at", "2014-11-14 21:51:25.450867"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:21:25.452245') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:25.452919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.495060"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PoQ1OgBW1MDn8Jyc49y6QeVtDC0QhxCgTxQHTzNTFjoC0DQ9HgBSK"], ["updated_at", "2014-11-14 21:51:25.495060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:25.593203"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:25.593203"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:25.593739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:25.608008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Filter chain halted as :require_gringotts rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.647539"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2Q14PELnc9aVi0ouVkhHOOD8sn7jAo.RU35uGntAl2ZTGhDCGK9uq"], ["updated_at", "2014-11-14 21:51:25.647539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:25.672806"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:25.672806"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:25.673335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:25.687397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.697908"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jYMrke2Ecl6cZmXc7T1mtOvQqS1TvrXgXI71igC8dLH1cIPU9k7oS"], ["updated_at", "2014-11-14 21:51:25.697908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 21:51:25.725096"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:25.725096"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:25.725635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 21:51:25.755971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 2.9ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.800281"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:25.800281"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.808090"], ["expires_at", "2014-11-14 21:56:25.807761"], ["updated_at", "2014-11-14 21:51:25.808090"], ["value", "93249"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:25.812165"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:25.812165"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:25.813344"], ["updated_at", "2014-11-14 21:51:25.814443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 3.8ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.835369"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FXDFaJrLA/z5QBTNvFOKpObKxmXDjxaIu64/dTC2lpM21R.icYaAa"], ["updated_at", "2014-11-14 21:51:25.835369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:25.968997"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:25.968997"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:25.969564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:25.985654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:25.996623"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$lpaTO924CQN99eg6WE3qb.vw1X./Mf37758GhWhOd30nkM3ZEwYoi"], ["updated_at", "2014-11-14 21:51:25.996623"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:25 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 21:51:26.016913"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:26.016913"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:26.017342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 21:51:26.031095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.5ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.074530"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:26.074530"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.081490"], ["expires_at", "2014-11-14 21:56:26.081186"], ["updated_at", "2014-11-14 21:51:26.081490"], ["value", "18563"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:26.084741"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:26.084741"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:26.085818"], ["updated_at", "2014-11-14 21:51:26.086789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.119589"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$MXD8lP0CvJC8GU.d0DncTOm3i1VkbuWDQNPnIFpxF0SNi/ArVbqoK"], ["updated_at", "2014-11-14 21:51:26.119589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:26.235353"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:26.235353"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:26.235948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:26.250617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.9ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.268710"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$QMrLHd65p5m3zra9Lz9Q8eMCmxaHxsNG2ZNN3oEPG5ZCdFbTQIu9e"], ["updated_at", "2014-11-14 21:51:26.268710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 21:51:26.289330"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:26.289330"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:26.289767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (4.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 13ms (ActiveRecord: 5.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 21:51:26.313660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.5ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.358619"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:26.358619"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.365557"], ["expires_at", "2014-11-14 21:56:26.365264"], ["updated_at", "2014-11-14 21:51:26.365557"], ["value", "99609"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:26.368828"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:26.368828"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:26.369919"], ["updated_at", "2014-11-14 21:51:26.370887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"99609"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '99609' AND "gringotts_attempts"."successful" = 't'  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "99609"], ["created_at", "2014-11-14 21:51:26.393920"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:26.393920"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 2 [["confirmed_at", "2014-11-14 21:51:26.395087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.520319"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$XMUeD303nycGZ.vEw81TmucbAS.KLxi9t.RIesSVzf2ZRurhqKDza"], ["updated_at", "2014-11-14 21:51:26.520319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:26.538826"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:26.538826"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:26.539267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.5ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.3ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:26.558506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.598434"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:26.598434"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.605408"], ["expires_at", "2014-11-14 21:56:26.605110"], ["updated_at", "2014-11-14 21:51:26.605408"], ["value", "42591"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:26.608669"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:26.608669"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:26.609853"], ["updated_at", "2014-11-14 21:51:26.610842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.8ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.739876"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$TIu6iKSFWB3nOTx8/cTCSO2sd/j9bM3WuI3MKs/8IH32qFVBxRBQO"], ["updated_at", "2014-11-14 21:51:26.739876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:26.759225"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:26.759225"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:26.759666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:26.779296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.818328"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:26.818328"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.825834"], ["expires_at", "2014-11-14 21:56:26.825520"], ["updated_at", "2014-11-14 21:51:26.825834"], ["value", "69476"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:26.829084"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:26.829084"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:26.830414"], ["updated_at", "2014-11-14 21:51:26.831386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.856743"], ["expires_at", "2014-11-14 21:56:26.856420"], ["updated_at", "2014-11-14 21:51:26.856743"], ["value", "36818"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:26.860059"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:26.860059"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:26.860970"], ["updated_at", "2014-11-14 21:51:26.861855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.6ms | ActiveRecord: 1.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:26.891389"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$cpfpl5yXQPKC4.t8EAa1r.7iXSiS/DzztV7pVf/PK0Ax.6RuHseoW"], ["updated_at", "2014-11-14 21:51:26.891389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:26.910469"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:26.910469"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:26.910898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:26.928456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:26 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (75.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 80ms (Views: 77.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.041698"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:27.041698"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.048769"], ["expires_at", "2014-11-14 21:56:27.048465"], ["updated_at", "2014-11-14 21:51:27.048769"], ["value", "49112"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:27.052093"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:27.052093"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:27.053221"], ["updated_at", "2014-11-14 21:51:27.054228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.4ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.084467"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ajIqsan3SR3kdhvcblphiO2zFYVorrQUPeTLrWg0GA.88RCQ9S2Pa"], ["updated_at", "2014-11-14 21:51:27.084467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:27.106226"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:27.106226"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:27.106726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:27.120694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.131532"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WN2wUZQ3Dw2Hiqr0AnBlwOJYsTQb85.MwoCJV0z8hi5cTsXDu4kqW"], ["updated_at", "2014-11-14 21:51:27.131532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 21:51:27.150865"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:27.150865"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:27.151298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 21:51:27.166638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 2.6ms | ActiveRecord: 1.2ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.282532"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:27.282532"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.289683"], ["expires_at", "2014-11-14 21:56:27.289381"], ["updated_at", "2014-11-14 21:51:27.289683"], ["value", "78635"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:27.292942"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:27.292942"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:27.293912"], ["updated_at", "2014-11-14 21:51:27.294900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>""}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.324996"], ["expires_at", "2014-11-14 21:56:27.324374"], ["updated_at", "2014-11-14 21:51:27.324996"], ["value", "56157"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:27.331970"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:27.331970"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:27.333783"], ["updated_at", "2014-11-14 21:51:27.335723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 4.2ms | ActiveRecord: 2.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? [["vault_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.371058"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$O8eKCbEcBK1kkTfrbkr/nuc6ipeSbpe86rlnan8sjYDmrt0gW8Llq"], ["updated_at", "2014-11-14 21:51:27.371058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:27.462323"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:27.462323"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:27.462863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:27.477029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.487434"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$cUKsm1eZ782BrgMy4aE7UONwur85zQw4xME0N3g02HtwrUUyMmnV."], ["updated_at", "2014-11-14 21:51:27.487434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 21:51:27.507096"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:27.507096"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:27.507638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 21:51:27.525835"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 1.1ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.568097"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:27.568097"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.574933"], ["expires_at", "2014-11-14 21:56:27.574633"], ["updated_at", "2014-11-14 21:51:27.574933"], ["value", "74219"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:27.578144"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:27.578144"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:27.579139"], ["updated_at", "2014-11-14 21:51:27.580109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"asdf"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "asdf"], ["created_at", "2014-11-14 21:51:27.600298"], ["updated_at", "2014-11-14 21:51:27.600298"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.607450"], ["expires_at", "2014-11-14 21:56:27.607161"], ["updated_at", "2014-11-14 21:51:27.607450"], ["value", "71885"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:27.610602"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:27.610602"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:27.611595"], ["updated_at", "2014-11-14 21:51:27.612549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 4.1ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.753579"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$YdEvG.ti9/tlsvX6uB4dQuipPEI5zDWIR0t37PXZr9MfhTbbYdyyi"], ["updated_at", "2014-11-14 21:51:27.753579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:27.789565"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:27.789565"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:27.790020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:27.804015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.814345"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jmUJqs8MIlh21UPLq5UuvOAG/4i9nAHnXKISgm1tnXkjSno4umz4C"], ["updated_at", "2014-11-14 21:51:27.814345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 21:51:27.837523"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:27.837523"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:27.837973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 21:51:27.852804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.958139"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:27.958139"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:27.965284"], ["expires_at", "2014-11-14 21:56:27.964979"], ["updated_at", "2014-11-14 21:51:27.965284"], ["value", "35246"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:27.968572"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:27.968572"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:27.969725"], ["updated_at", "2014-11-14 21:51:27.970693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "gringotts_codes" SET "expires_at" = ?, "updated_at" = ? WHERE "gringotts_codes"."id" = 1 [["expires_at", "2014-11-14 21:21:27.983166"], ["updated_at", "2014-11-14 21:51:27.983971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:27 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"35246"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "35246"], ["created_at", "2014-11-14 21:51:27.997070"], ["updated_at", "2014-11-14 21:51:27.997070"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:28.004348"], ["expires_at", "2014-11-14 21:56:28.004078"], ["updated_at", "2014-11-14 21:51:28.004348"], ["value", "16035"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:28.007492"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:28.007492"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:28.008691"], ["updated_at", "2014-11-14 21:51:28.009643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 4.7ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:28.140187"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FjKGobN/fjkxp.wKl/y4OuRAtWL1wieh4sJ/0vZOrZx/w9OCAzJoa"], ["updated_at", "2014-11-14 21:51:28.140187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 21:51:28.160761"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:28.160761"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:28.161275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 21:51:28.196848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 3.4ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:28.213548"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$VqOldCk89gLX25TU/i2XM./9fdrjxl/Ss6D1DYhfEY0O60Mzt4dT."], ["updated_at", "2014-11-14 21:51:28.213548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (16.3ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 21:51:28.261813"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 21:51:28.261813"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 21:51:28.262355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.8ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 32ms (ActiveRecord: 1.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 21:51:28.312960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 5.0ms | ActiveRecord: 0.8ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 21:51:28.356784"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 21:51:28.356784"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:28.363637"], ["expires_at", "2014-11-14 21:56:28.363343"], ["updated_at", "2014-11-14 21:51:28.363637"], ["value", "47125"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 21:51:28.366877"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:28.366877"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 21:51:28.368048"], ["updated_at", "2014-11-14 21:51:28.369002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "47125"], ["created_at", "2014-11-14 21:51:28.381117"], ["successful", "t"], ["updated_at", "2014-11-14 21:51:28.381117"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"47125"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '47125' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "47125"], ["created_at", "2014-11-14 21:51:28.394279"], ["updated_at", "2014-11-14 21:51:28.394279"], ["vault_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 83ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 16:51:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 21:51:28.478267"], ["expires_at", "2014-11-14 21:56:28.477932"], ["updated_at", "2014-11-14 21:51:28.478267"], ["value", "25443"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 21:51:28.481891"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 21:51:28.481891"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 21:51:28.482892"], ["updated_at", "2014-11-14 21:51:28.483820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.8ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (4.4ms) rollback transaction  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$R/8b12sSC4tua6YhmrH4b.yz8QQCHFVKHgwLbGrgSI90z8Oi2RCj."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:07 UTC +00:00]]  (1.0ms) DELETE FROM "gringotts_attempts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_attempts';  (0.9ms) DELETE FROM "gringotts_codes";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_codes';  (0.8ms) DELETE FROM "gringotts_deliveries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_deliveries';  (1.3ms) DELETE FROM "gringotts_settings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_settings';  (1.0ms) DELETE FROM "gringotts_vaults";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_vaults';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'users'; Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "52998"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "88003"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "87583"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "92839"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "07132"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "61758"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "92348"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "56075"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "99612"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "47903"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "58922"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "28255"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "58173"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:17:08.523163' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "01630"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@foo,com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_at_foo.org' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example.user@foo.' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@foo.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'the_user@foo.bar.org' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'first.last@foo.jp' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$klIuNjaHYsXQ5Y9rqMimGeof2QqL6szBHUZO8.CxSA5hKpTM46lOm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$hFyrBHDflAJWxp2.f5MVDulMCXB93F.Nj5ZYmunBBfz5185.GK8ka"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$Yrk5x7OYGPxFtFI2QkNxQ.UMb8VST6kx9PG3vYHtp2Xe0RxDZy4ye"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$eAaEHcTd5hnHIA.l.4xGbuXDy4Lka6ki0z10sX0H2b.gBUFohWqjS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$JaPcF1rtG.j7/uHPuRh5AuBopKpBdaKyjv5oGr3YGb/6TIYx5DiHG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '' LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:17:08.787454' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.2ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '15555555555' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = '15555555555', "updated_at" = '2014-11-14 22:17:08.795428' WHERE "gringotts_settings"."id" = 1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = NULL WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "11477"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = 'Error message from ErrorRaisingStrategy', "updated_at" = '2014-11-14 22:17:08.824693' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "10048"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = 'Error message from ErrorRaisingStrategy', "updated_at" = '2014-11-14 22:17:08.841015' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "80446"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = 'Error message from ErrorRaisingStrategy', "updated_at" = '2014-11-14 22:17:08.857786' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "84186"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (1.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "15083"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "50902"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "92395"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (1.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "54343"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:08.941879', "updated_at" = '2014-11-14 22:17:08.942685' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "07707"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:08.959078', "updated_at" = '2014-11-14 22:17:08.959969' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "19130"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:08.977023', "updated_at" = '2014-11-14 22:17:08.978040' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:08 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:08 UTC +00:00], ["value", "35106"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$poORZpBlu1oXEKpGEIKJSuYWxNQE.0npOEedfnMX0YyMhw3FS7ZVm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 21:47:09.022615' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5CUiIaEUVvJm1TGtbG.YJuh61VLwwy6Lf9F5D58W.ntseRgRjBY8C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "66741"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$TDyVfDNqmMrbKNWC8vzTrOsj893yxTetUAgzglqHQbNkTJz/HyWMu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$inftnMRONV.MbQuCndAEWezG9x1of09AHMsWHTIANh9cT/9HJrcJa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:17:09.084389' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$n/vSD3qA5dnus8pXFmal2u.hfyp2WQDgZP29JK8HeX7TgFFNM5ri."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:17:09.101981' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$CCFiIXPrA0vMg3hmqg6MAeuI1tYSSEKAErOvy3v010tjbHv0e7Osi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "03987"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$aTnJevPGP8g5Rwy6ukd9R.U3LfN4GaHt/YE9vm32cW7Qv6OC28ksK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '18005551212' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = '18005551212', "updated_at" = '2014-11-14 22:17:09.138643' WHERE "gringotts_settings"."id" = 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$41dviqQkPCappw0Fqe/u2ecg/IBp3qNVcEbLJjJF9omjUx0nYZqca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$XAixvCEue1FVYDi/6KUBx.o12dO6gBEqxrYZiCWRlX28YSL/27/7q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$nZw6xq1LC/J43KJG0gxMQOEWHLdHiY6xvj0ddJ2209/TAo19p7gIS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:17:09.285372' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$UrGaLBKElgYKGPLagPdRi.TfMiNg7HzaiHw7jYeU3f51KE32YbWba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (1.7ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$n4x6ocDPGOCgYcZC6zAGuOZDRjhiX3ch0g.II4a400Yr1ejTGno2y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "33825"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$hbPsGHt8qZbKzJojKicQHuGWwjJBzxl5uQfIc2N9IPsXK/rPsmp2m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$eA2lnoOQMJhDf5sqnw5z5O9/y1guasvuQlXWrkOIWS8M6pO4ZaJ8K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$767ovlhmhkB69Xbtwl0VKO/wMULs27sBt/ECxMa/sRLNjF41TZ6xm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (1.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:17:09.391895' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$DDHO135JrgVR7AnsPIgnDe7oFD/OZ7ALm3J5hcvASUEKIcDb/dLFK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$pBpB6/hFmVvC7eCrRgcw9OSreqdYJGi21wQUvQubW.UQTxXZ8fc4C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ZN6y5LtkgVAEfck8cMR47.NEoc18oOsedSNL7PCfEcEM9SV2jRAjW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:17:09.459910' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = NULL WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$lofH7WNdr26Qqc2ve2UCi.WYX/wsEcf1T1CgpOJd2zkAb6glYKbKq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$oyDSs1B.SiOAmjWgcoT4XuA2bCmkS3ZuDwXdjnXwfzwyXnliJjUj."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$uSkS8Ij4Lu4c56VwlWgreOeJob24Yldox.YoY7a0nQVHXvXXP2mae"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:17:09.516735' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$OstsON1A08VUYMbiR1Jh3uJkmlwr9ucTZItOPeXFIB7ZkkOZrNvcK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:17:09.531617' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:47:09.540581')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$NBmIfYHwwiIRjKSiFrEtI.5pz26Q/GwJBLBcpcyv5g7LhTWgD8WSi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2CgEkpqxegtOPpIWkdab3OGXQci8sNhZsizWv7gn9fDBu6g8vJ8Ti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:17:09.575305' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:47:09.589864') Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "75119"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "75119"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "87510"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "13056"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "13056"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "28648"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "28648"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "99411"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "86448"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "86448"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '86448' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "01519"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "01519"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "20008"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "93499"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "93499"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "54092"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "54092"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "73745"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "13137"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "13137"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "65466"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.7ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "07092"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "07092"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "01347"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "67245"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "67245"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '67245' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "81390"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "81390"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "09215"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:47:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "10680"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "10680"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "55005"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "55005"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "84461"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:47:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "67164"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "67164"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "33986"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "33986"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "44268"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:47:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "73723"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "73723"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "96912"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "96912"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "50488"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:47:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "38815"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "38815"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "85423"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "85423"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "42730"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:47:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "04510"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "04510"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "38476"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "38476"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "08387"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "67426"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "67426"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "67426"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "33558"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "33558"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "26251"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "91677"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "91677"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "91677"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '91677' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "33815"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "33815"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "72013"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "42429"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "42429"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "42429"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '42429' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "14013"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "14013"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "58985"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "44266"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "44266"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "44266"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '14013' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "89401"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "89401"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "91177"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:09 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["value", "49204"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "49204"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "49204"], ["created_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:09 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '49204' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:10 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["value", "54990"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "54990"], ["created_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:47:10 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["value", "39209"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:10 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["value", "55307"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:17:10 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:10 UTC +00:00], ["value", "93199"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Nwobvo5UTBEW3JdwJO0.Mu/PE.5MUtFABGatZ87kf4u8dlxnFLzmW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:15 UTC +00:00]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (1.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (8.7ms) Rendered layouts/_navigation.html.erb (1.6ms) Rendered layouts/_messages.html.erb (0.5ms) Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Completed 401 Unauthorized in 3ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$KqM8BZw5/sEBWuC.MmESieIP418S44XRy3qOOSWjtTDGlOgtAlvwW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.8ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:15.594992', "current_sign_in_at" = '2014-11-14 22:17:15.594992', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:15.595541' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 14ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:15.641125' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 6.9ms | ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$4w/pbJxCqhGZQwKLF2uxVO7h4YXhd6Cxl2PJDe0ZCrXBpN7nbzFSK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'wrong@example.com' LIMIT 1 Completed 401 Unauthorized in 2ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$bccydJ8.v7ntgxk89wiTrOKCm0dlfBTbbyzqjoIBiU4xt7rS6mvPO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Completed 401 Unauthorized in 3ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PGwCGiUr5MB7jLikpXKFyO6n4u1txBjbQ/ErS30lfOUQ9IfKGaa22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:16.120978', "current_sign_in_at" = '2014-11-14 22:17:16.120978', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:16.121341' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:16.135006' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$GPRlQOWfqQtzIhg832Td7uO3Y/b8QJefjUCC6kMwl39iXpyCecEYm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:16.311082', "current_sign_in_at" = '2014-11-14 22:17:16.311082', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:16.311527' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:16.325356' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.5ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"notanemail", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (8.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 9.9ms | ActiveRecord: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 4.6ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$HPxl6zss8/agoGP0Mz3z0.8xxkeSuT3gLLHmX8BskvmwAnwI6MNvS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:16.801312', "current_sign_in_at" = '2014-11-14 22:17:16.801312', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:16.801700' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:16.812738' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.3ms) Started PUT "/users" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::RegistrationsController#edit as HTML Completed 401 Unauthorized in 0ms Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ZIDb4bL6qfFViDYgXueY7O/RRD6KPDhqi7zjz/Xtc.ogZ6lPylN5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:16.989980', "current_sign_in_at" = '2014-11-14 22:17:16.989980', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:16.990362' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:16 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 5ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:17.007191' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["value", "52608"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:17.162516', "updated_at" = '2014-11-14 22:17:17.163424' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 52ms (Views: 9.5ms | ActiveRecord: 2.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"52608"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "52608"], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '52608' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 8ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8..GndyM1kTMkntmwCzgNe7qLxyzQEW94JVp64oQSs32GjgPVjZNq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:17.275728', "current_sign_in_at" = '2014-11-14 22:17:17.275728', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:17.276084' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:17.287927' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["value", "24277"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:17.332027', "updated_at" = '2014-11-14 22:17:17.332879' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"24277"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "24277"], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '24277' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$xyK.4e1yKwYl7Q7qEddIKOqGnzOwsdTmT6r.P2OwCj08oO4x16qwK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:17.379347', "current_sign_in_at" = '2014-11-14 22:17:17.379347', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:17.379716' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:17.391447' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["value", "80008"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:17.501200', "updated_at" = '2014-11-14 22:17:17.502044' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.6ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"80008"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "80008"], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '80008' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$E9Ji7TuQwHdk3jy0cSUbOuPWWs/9dLYpcoks.WYxUxpTkLfRH6U/O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:17.547548', "current_sign_in_at" = '2014-11-14 22:17:17.547548', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:17.547899' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:17.559987' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["value", "03454"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:17.606900', "updated_at" = '2014-11-14 22:17:17.608232' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.3ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"03454"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "03454"], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '03454' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$QhyFVwPJrPfZzLI9f3hmKOzKXOyJZgOyVZ3uiBamG2oybJOEF3elO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:17.717836', "current_sign_in_at" = '2014-11-14 22:17:17.717836', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:17.718253' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:17.729998' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["value", "61992"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:17.772866', "updated_at" = '2014-11-14 22:17:17.773857' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"61992"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "61992"], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '61992' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$gLX0ttT7ZVJNiOojOsPSueNBHTtKEKfKxOMZH3M5u5BEEap8DOSPu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:17.819654', "current_sign_in_at" = '2014-11-14 22:17:17.819654', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:17.820006' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:17.830598' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["value", "35220"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:17.873259', "updated_at" = '2014-11-14 22:17:17.875631' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"35220"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "35220"], ["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '35220' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$yD2GuJf8bQbz5iLmFg64uuYvkYdyyjfSHB/o6S0DFMoDej3fIPLXG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:17.996960', "current_sign_in_at" = '2014-11-14 22:17:17.996960', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:17.997682' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:18.011837' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9iPtaazBjtoDyPZKgvjYCehdkvHEirnMnev7ZnSTPey9Jev2YD4AS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:18.059759', "current_sign_in_at" = '2014-11-14 22:17:18.059759', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:18.060106' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:18.071439' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$e4Z.YCZPRUUjORIRxklBhu.j6mrCnCjJ8RrlZXYcLikKffP9WDPl6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:18.180856', "current_sign_in_at" = '2014-11-14 22:17:18.180856', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:18.181211' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:18.192516' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:18 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["value", "43444"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:18.234461', "updated_at" = '2014-11-14 22:17:18.235422' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 3.1ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:17:18.330573', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:17:18.331033' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5Bo/3Rq6cox9UuSng4Kr3./18N9SXCrbtRQWYbDZyR6E83T5VPiiq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:18.383545', "current_sign_in_at" = '2014-11-14 22:17:18.383545', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:18.383906' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:18.395441' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:17:18.501679', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:17:18.502314' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$EprURz8Wxmj6aK2inyU7Nu8Tweid9t.YSXkGI7K2Bf49B2PTMggCC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:18.550484', "current_sign_in_at" = '2014-11-14 22:17:18.550484', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:18.550990' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:18.562285' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Du7JjN3O0Al6hJO.ah.0XefhpsvvP5IyoYVAqdEmvUXvWwYPAM4Pa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:18.684747', "current_sign_in_at" = '2014-11-14 22:17:18.684747', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:18.685103' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.3ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:18.698171' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 6.8ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:18 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["value", "08664"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["vault_id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:18.749032', "updated_at" = '2014-11-14 22:17:18.749894' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"08664"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "08664"], ["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '08664' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$oCGQ7yaQUJxCFNkGFa53gOIL3AblaJTfOZeIQUJ1miAsZeRa9hjfa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:18.856712', "current_sign_in_at" = '2014-11-14 22:17:18.856712', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:18.857075' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:18.869340' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.5ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:18 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["value", "04498"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:18.918060', "updated_at" = '2014-11-14 22:17:18.918926' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.3ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"04498"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "04498"], ["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '04498' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$HJfyClCnh5CYZB3M.xvh9OOg3nQhAaGVF268ESmTzqbUmwhvuUFTu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:18.963498', "current_sign_in_at" = '2014-11-14 22:17:18.963498', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:18.963863' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:18.975781' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:18 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:19 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["value", "12691"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:19.024991', "updated_at" = '2014-11-14 22:17:19.025887' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 84ms (Views: 4.1ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"12691"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "12691"], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '12691' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$YNPo11bFNtf7DKLuvqZwA..d/f5xSi1700Ts8L6MLfXbkVqGQ..A2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:19.145483', "current_sign_in_at" = '2014-11-14 22:17:19.145483', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:19.145860' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:19.158332' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:19 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["value", "17680"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:19.202382', "updated_at" = '2014-11-14 22:17:19.203436' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"17680"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "17680"], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '17680' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$k1hjNMXG8.cYyubUjUPmGOpj7myw6lnW.QZNomW.w8ACDQa3BRD4e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:19.249170', "current_sign_in_at" = '2014-11-14 22:17:19.249170', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:19.249535' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:19.261723' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (63.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 71ms (Views: 66.4ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$46bHVpbD6JcsYlDAvHmTw.9fbfAutPtirlDehOT3trpgDLv5THC16"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:19.387737', "current_sign_in_at" = '2014-11-14 22:17:19.387737', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:19.388187' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.3ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:19.399875' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.8ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8AmEV2FcPFalph9yloIa2.c.SbVzYFDVy43JYgFSp7KXl2JFvsgTW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:19.443756', "current_sign_in_at" = '2014-11-14 22:17:19.443756', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:19.444149' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:19.455765' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ZKbF8b4HdUAUDzISa8AI0uiNm6YQfPAIwfGbQ/O2VSgANlJnfOMES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:19.581875', "current_sign_in_at" = '2014-11-14 22:17:19.581875', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:19.582237' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:19.593074' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"(406) 444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14064444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["phone_number", "14064444444"], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14064444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:19 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["value", "37597"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14064444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:19.629529', "updated_at" = '2014-11-14 22:17:19.630520' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.9ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$TIljLkxyeIhizmHuW.sqxuD8sEzf6Rhlz3fSF1Pk0I57yKt1fSeHu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:19.661227', "current_sign_in_at" = '2014-11-14 22:17:19.661227', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:19.661584' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 73ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:19.741767' WHERE "gringotts_vaults"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 2) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:19 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["value", "79434"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:19.796937', "updated_at" = '2014-11-14 22:17:19.798097' WHERE "gringotts_deliveries"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.6ms | ActiveRecord: 1.9ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$b4RMaGuIjv1SMgdSkNcMSel80C/e.KxLSOxD4imzNSG3.a7gDtDVC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:19.832903', "current_sign_in_at" = '2014-11-14 22:17:19.832903', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:19.833273' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 3ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:19.846912' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 3.7ms | ActiveRecord: 1.1ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>""}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 CACHE (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.8ms | ActiveRecord: 0.9ms) Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$oe80is4RFWKtfeuylBe3h.6WctTIBaZYNBL6x77.1gzFqNoSdv4e6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:17:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:19.992337', "current_sign_in_at" = '2014-11-14 22:17:19.992337', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:19.992690' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:19 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 18ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:20.021480' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"12345"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 CACHE (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.8ms | ActiveRecord: 0.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8hxNZN7Efg7j3fJzM2JQV.GacqMb8jDEq/OmWeZHjpVRhWZufHO2u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:20.104425', "current_sign_in_at" = '2014-11-14 22:17:20.104425', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:20.104791' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 87ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:20.201199' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:20 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["value", "87474"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.9ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:20.246166', "updated_at" = '2014-11-14 22:17:20.247751' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 4.0ms | ActiveRecord: 2.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 3ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:20 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["value", "59190"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:20.280457', "updated_at" = '2014-11-14 22:17:20.281367' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.5ms | ActiveRecord: 1.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$XaFQpZCF5UnPJChIGJwNx.JiWRVHBugNRSrbW8ZQaJrXBpeL67s1."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:20.319577', "current_sign_in_at" = '2014-11-14 22:17:20.319577', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:20.319925' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:20.332846' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 1.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:20 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["value", "94364"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:20.380895', "updated_at" = '2014-11-14 22:17:20.382001' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"94364"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "94364"], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '94364' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$eAt./qkOElOjrXsqFVxLYuiTi7fXmDLP1vd5xxQMlO2.EERgmaYt2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:20.493011', "current_sign_in_at" = '2014-11-14 22:17:20.493011', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:20.493371' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:20.521439' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:20 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["value", "70259"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:20.565489', "updated_at" = '2014-11-14 22:17:20.566611' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"70259"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "70259"], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '70259' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$gfbuqR9hutehThe9vVQ5l.uFIL7xPiSmz5IrWcstz3d9Cz70sAjAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:20.613885', "current_sign_in_at" = '2014-11-14 22:17:20.613885', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:20.614246' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 5ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:20.629692' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:20 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["value", "61716"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:20.736497', "updated_at" = '2014-11-14 22:17:20.737370' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 74ms (Views: 3.6ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"61716"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "61716"], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '61716' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$yVjLtaBYt.yxztnTe8bxn.2j78RSHs1Ym0kA6zJOJjpd.nilYzRxW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:20.782781', "current_sign_in_at" = '2014-11-14 22:17:20.782781', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:20.783129' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 3ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:20.795125' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 3.5ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$UWJxZIwQ/T3ShImQ2h1XUePf5bjTwpZFT.bTIKfNqxGZoyNooQSvW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:20.830606', "current_sign_in_at" = '2014-11-14 22:17:20.830606', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:20.830998' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 3ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:20.841869' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.9ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.9ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:20 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["value", "22563"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:20.894560', "updated_at" = '2014-11-14 22:17:20.895468' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.6ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$lGldlQ4NKwOcWEcNs5lCFujsksapZ2SmbR02haTs/zs768nsFCruC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (4.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:17:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:21.018855', "current_sign_in_at" = '2014-11-14 22:17:21.018855', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:21.019216' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 6ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:21.036849' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 12ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:21 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["value", "54671"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:21.089172', "updated_at" = '2014-11-14 22:17:21.090030' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"54671"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "54671"], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '54671' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$UAUuTxBWPEcv6ktf.BeWZe1D7.YlBOap6rlMv/eH8Z/GbnknQ3Nge"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:17:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:21.135763', "current_sign_in_at" = '2014-11-14 22:17:21.135763', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:21.136113' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 6ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:21.152363' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:21 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["value", "97750"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:21.259777', "updated_at" = '2014-11-14 22:17:21.260809' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"97750"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "97750"], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '97750' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Yv/v7KaAHRHAa1wIJ5RVOOBV5xqYo6KMKY1Av.uJBHv6mhZHqSZfy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:17:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:21.309020', "current_sign_in_at" = '2014-11-14 22:17:21.309020', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:21.309552' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:21.323094' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:21 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["value", "42847"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:21.368902', "updated_at" = '2014-11-14 22:17:21.369825' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 2.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"42847"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "42847"], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '42847' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 5ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$el1YtLFiNC88..jJ2cvtwOoJG0UNJQlbvW5HU9gCRKs1Pihu9TQmC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:21.480270', "current_sign_in_at" = '2014-11-14 22:17:21.480270', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:21.480685' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:21.492023' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:21 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["value", "24512"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:21.536970', "updated_at" = '2014-11-14 22:17:21.537979' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"24512"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "24512"], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '24512' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dJ2B0SgsmWRVBvNjpZYJN.5gvlGfSg6Tl/2G5XrAJ9xLxcybVxOxy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:21.584615', "current_sign_in_at" = '2014-11-14 22:17:21.584615', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:21.584968' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 5ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:21.600197' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:21 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["value", "47885"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:21.649676', "updated_at" = '2014-11-14 22:17:21.650732' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 3.4ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:21 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"47885"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (580.5ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "47885"], ["created_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:21 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '47885' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 587ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$LiRb9DGy.V.ACzAyJvRhQenlb3UDDNt61kNREDBSYfuk7zEvcGDHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:22.352473', "current_sign_in_at" = '2014-11-14 22:17:22.352473', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:22.352825' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:22.367364' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (5.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:22 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["value", "49286"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:22.416787', "updated_at" = '2014-11-14 22:17:22.417795' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"49286"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "49286"], ["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '49286' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/qa6rTiTBZJbLLQHMIOVK.fuCRDK3uFIToeVSSnosGxz0lNBW30/2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:22.461372', "current_sign_in_at" = '2014-11-14 22:17:22.461372', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:22.461727' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 3ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:22.474947' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.5ms | ActiveRecord: 0.9ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$sXSKvyN4t46KRr6TXPWqV.d3FImwPSAkvkT6naIEy4QtLHCvjhaUu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:22.605593', "current_sign_in_at" = '2014-11-14 22:17:22.605593', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:22.605990' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:22.618208' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.7ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1u2IANimb2Ts3ocf2UDv8Og14wPTV38NNDQi/sA.ScEeM.bQIKo1e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:22.645806', "current_sign_in_at" = '2014-11-14 22:17:22.645806', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:22.646163' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 3ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:22.656758' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:22 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["value", "26677"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:22.714069', "updated_at" = '2014-11-14 22:17:22.714888' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.3ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$IiVdhJdby8iTWquz7JJa.uUeQlNX3KehGXpNA9.U0pJnM14jLtWgG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:22.749053', "current_sign_in_at" = '2014-11-14 22:17:22.749053', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:22.749402' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:22.763383' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 3.7ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Cb.yOj6OYafMlcj/jx28/eeR4wm6yI8.KwTUlbJSb57XTaiEvk8V."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (74.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 78ms (Views: 76.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:22.866356', "current_sign_in_at" = '2014-11-14 22:17:22.866356', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:22.866772' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 5ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:22.881457' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:22 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["value", "29428"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:22.925719', "updated_at" = '2014-11-14 22:17:22.926590' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.3ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9jOxKjY12NnqLoGyiGPFouvKLvtSryxoY9lJbf/L/SPCZwY0w7FOu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:22.976512', "current_sign_in_at" = '2014-11-14 22:17:22.976512', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:22.976958' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 5ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:22 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:23.055090' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 70ms (Views: 2.5ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dhWz8xb8ZzlDgigNH3HdeuYzaqxHyV3gNC.Q07ynfI3KT0VzHN6FG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (7.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:23.091277', "current_sign_in_at" = '2014-11-14 22:17:23.091277', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:23.091633' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 6ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:23.107243' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:23 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["value", "91666"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:23.152853', "updated_at" = '2014-11-14 22:17:23.153759' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"91666"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "91666"], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '91666' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$wuRbyYsjEYALPBN0feDF/OwRb9P2hMxjxJ9a5PrJxv2xSPaDwSimC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:23.204819', "current_sign_in_at" = '2014-11-14 22:17:23.204819', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:23.205210' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:23.216940' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:23 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["value", "07602"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:23.324005', "updated_at" = '2014-11-14 22:17:23.324891' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.5ms | ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1sz8YtzChd5FdfhYDUw47OZdz2e3Glu2MFEDA3gNVSmwkfhEflQAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.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 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:23.384433', "current_sign_in_at" = '2014-11-14 22:17:23.384433', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:23.385015' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.7ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 6ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:23.399744' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:23 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["value", "91075"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:23.502065', "updated_at" = '2014-11-14 22:17:23.502944' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.5ms | ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 3ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:23 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["value", "68561"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:23.528671', "updated_at" = '2014-11-14 22:17:23.529473' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.4ms | ActiveRecord: 1.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$i1qhRAR4hGTT8oyWFuc87.oUpG3P20uYQxRZgy7S.khKiTPLGjzrK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (10.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:23.569286', "current_sign_in_at" = '2014-11-14 22:17:23.569286', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:23.569703' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 8ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:23.589425' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:23 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["value", "83973"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:23.633185', "updated_at" = '2014-11-14 22:17:23.634358' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$4NikabCycvXSkgVbMoiSwOTYjT48TTbEICsZiy317jyPIJugRRz3O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:23.752506', "current_sign_in_at" = '2014-11-14 22:17:23.752506', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:23.752859' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:23.765375' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 3.1ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$L7zDGU5CXo7CntqSC3KoJ.BEj/oo7M.HcM.4ul.9/f2uasGCixvRi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:23.799990', "current_sign_in_at" = '2014-11-14 22:17:23.799990', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:23.800374' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:23.811294' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:23 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["value", "70503"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:23.860289', "updated_at" = '2014-11-14 22:17:23.861446' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>""}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$uXm8c.ntSCvppp6Hjf0FOechh32AfP.CYJoowPeJrOgUBuRmYAdvK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (71.2ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 75ms (Views: 73.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:23.978303', "current_sign_in_at" = '2014-11-14 22:17:23.978303', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:23.978751' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:23.993651' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.7ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$6vEYCJ7jP3wHZqJAS5Vh.OitWO2jR3YZipYJH/8CaNHEL6hnEcVnG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:24.022342', "current_sign_in_at" = '2014-11-14 22:17:24.022342', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:24.022709' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:24.033581' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["value", "67864"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:24.082176', "updated_at" = '2014-11-14 22:17:24.083156' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"asdf"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "asdf"], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2BQ5vranBv3oDYYDGAWTO.WwTF9I9d3e8ETlil2.xxbLXB8L4ou9C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:24.133171', "current_sign_in_at" = '2014-11-14 22:17:24.133171', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:24.133663' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:24.146639' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.4ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$wJ/.D4VXFKkG3Otyo7Ai0eMeoz1W5m1pkp0GzdyaTOIGJuRFCo5gC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:24.241981', "current_sign_in_at" = '2014-11-14 22:17:24.241981', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:24.242365' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:24.253337' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["value", "39611"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:24.299423', "updated_at" = '2014-11-14 22:17:24.301569' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 3.3ms | ActiveRecord: 2.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_codes" SET "expires_at" = '2014-11-14 21:47:24.311006', "updated_at" = '2014-11-14 22:17:24.311688' WHERE "gringotts_codes"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"39611"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "39611"], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$3qmz9wtIW3/R3JX0UlJGY.ZZ5YXeWUMSXS94ugGqPNeFFi9oObvaa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:24.353539', "current_sign_in_at" = '2014-11-14 22:17:24.353539', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:24.353939' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:24.366672' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WHSZjaVULlZ1Vfdptq1ar.wucE2UD8oP95iQwNKlUIcu0EyVwC1A."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:17:24.395246', "current_sign_in_at" = '2014-11-14 22:17:24.395246', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:17:24.396152' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:17:24.408693' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.2ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:22:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["value", "72813"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:17:24.521131', "updated_at" = '2014-11-14 22:17:24.522005' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.3ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "72813"], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:17:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"72813"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "72813"], ["created_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:17:24 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '72813' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms Connecting to database specified by database.yml  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jWD8SLRVR71jh6LUiekmzuBTt/bQm7b5zhOffF/RF7.tOhprO5LBO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00]]  (0.9ms) commit transaction  (1.0ms) DELETE FROM "gringotts_attempts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_attempts';  (0.9ms) DELETE FROM "gringotts_codes";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_codes';  (0.7ms) DELETE FROM "gringotts_deliveries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_deliveries';  (1.5ms) DELETE FROM "gringotts_settings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_settings';  (0.9ms) DELETE FROM "gringotts_vaults";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_vaults';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$OMWLP7PKfxbW36WZh/Dr.u7iQxx35A.qLyDC.raz.OOqTiNcQgV6C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["value", "87400"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WZIBTd81SjTOPss4trQb6.ykgu39IL3Dy2odwKVd7fed5jtb0Qzd."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Xn9be30Yf5/ybbRYiAVHKusct/0SnBHZlE0A0dYiu3lJo/ccuA6Wi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:18:30.904050' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$bAlg0irFeenuCp.dJH4wSuKD5/G8lzMnIoQPiVN7UdiHIoIkzi/wa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5P6gkOWDUW0u9.GeUMQxY.zUQ8lUDKnWfS2py/yVdLmiOn4a6C6za"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ioW1KmktjDGd5FBuBtiAYeRbSbZYTR9C/Fj98H2nPG86e0nvxN6JK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:31.031670' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:31.052770')  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9CYCX7QZ5wOmJM/jn25RBujrP195sfNbYTgxRY.bVVeh0LFaJxQNm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:31.069929' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:31.081424')  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$tcjsCJ8/LEICfl7x5CjleecbpHO2Z3Xqx1BhqEgsDIvXUWOTpdg7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "13581"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$BOir3xURvjMiReI04eSVJemDtW5lokPNZbUMGB6IrkLS65qSwa3AG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '18005551212' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = '18005551212', "updated_at" = '2014-11-14 22:18:31.130986' WHERE "gringotts_settings"."id" = 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$S5R6I0bLxOS14c0zXxphpeNnS4fHjjeKlIY2FBbVy9O8FlOXsXeUu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "62633"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$s1kYLyZEM5fo.2QNSB0YReWTMFw22Vm5kc5LGTtElnSHoPlG6Xaje"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$.8wcsdoDGaOAhVqZ2j9zzOyDkpJ6hV6N/y76oTAUGXi5Ksrsa1.SO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$84U2nl064Md65A5.nDKQ1ePPO570rtUd.7s3CRmawWSsVn32hfNWS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$iYiW1SOTN4CiCSBQrdf64uhw6jLeBMERuBkF/3HvQxwQ5b/4AaRUa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$rlYwbm82uufcsU5h7CBwwO/0QFIWkYNGO6FKIpJCAFssZFn.7HdjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FP.yxk7civgiChEVe1Pv/uIqxE/WUTbX164DJaYLTUMuu.m3ndGy2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Rv14k0bP7oH/XETMKILP5e90Z56ZFuSGA39TY9slqxROsqDlmPlru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$6n.vii1/DeK36iIsHhol4.C3HaA1MiB5iyk.2vg2DQrbKY0q2g9z."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:31.312752' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1iPKgVdcuZVNTUDVvPpVCOFyz/7NAMaLRGOFqhRF.VMl0IomSpVTK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (2.7ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$mLIE.zLwBNWI7e/BlmIWROvLoyNcWSuznR6U9NNMx6EHUpAtRnRM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:31.414566' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$IqK0OlUpyonaT3fiXggucuj/ZBQRBwNhuKP0RVoE96mimrnylZoUe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 21:48:31.433263' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$j/b8/MvTus033Gmgo4veF.r9baj28dqIvI6m56z.515zw4XG08BHy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:18:31.452048' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$CyCBk77ZtWai1QkcnkrfY.ibBFygkfl1YJN6VbQK2SbOstmSvzecG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:31.468911' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$W8tUPwqvncwVp5igOUiwl.O7uc0qf3DwXeSPCXdhlllPTMsYkQb7e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:18:31.485995' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = NULL WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "11382"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "53321"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:31.569106', "updated_at" = '2014-11-14 22:18:31.570606' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "01282"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:31.591270', "updated_at" = '2014-11-14 22:18:31.592251' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "40100"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "56165"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "47900"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.5ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "45158"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "65630"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:31.679882', "updated_at" = '2014-11-14 22:18:31.680920' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (2.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "81698"], ["vault_id", 1]] Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "98411"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = 'Error message from ErrorRaisingStrategy', "updated_at" = '2014-11-14 22:18:31.736871' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "90991"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = 'Error message from ErrorRaisingStrategy', "updated_at" = '2014-11-14 22:18:31.757420' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "18031"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = 'Error message from ErrorRaisingStrategy', "updated_at" = '2014-11-14 22:18:31.776570' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "82418"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "49982"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "32799"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "16116"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "40322"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "80573"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "09998"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "66937"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "98312"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "98035"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "37086"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "71078"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "71078"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "82631"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:48:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "25418"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "25418"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "60651"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "60651"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "99494"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:48:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "58156"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "58156"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.9ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "89994"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "89994"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "93663"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:48:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "81568"], ["vault_id", 1]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "81568"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "62209"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "62209"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "32202"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:48:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["value", "44772"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "44772"], ["created_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:31 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "26766"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "26766"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "08554"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:48:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "18652"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "18652"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "72282"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "72282"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "05035"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "13399"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "13399"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "13399"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '13399' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "38392"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "38392"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "41583"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "01531"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "01531"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "01531"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '38392' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "40324"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "40324"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "97144"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "50866"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "50866"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "50866"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '50866' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "40328"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "40328"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "02049"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "89511"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "89511"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "89511"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "78160"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "78160"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "74326"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "43747"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "43747"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "43747"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '43747' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "22385"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "22385"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "58819"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "08432"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "08432"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '08432' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "18302"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "18302"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "31184"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "42071"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "42071"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "50545"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "51727"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "51727"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "65877"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "05111"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "05111"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '05111' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "82265"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "82265"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "99366"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "29857"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "29857"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "95374"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "95374"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "51770"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "96111"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "96111"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$IySJYWpTK26B5hI43qvIz.PIfUANB0Ex89BoC7VLlHruOQkzqFf6."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$Bulh0xZOjshYvXSTMRIw9uiAq4JMDOSQUxoHEN5z5A1/S35LSJu9K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo,com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_at_foo.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example.user@foo.' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'the_user@foo.bar.org' LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'first.last@foo.jp' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$QYHVcYaiLZSrgbSVPXZ0oetKVyz9SdY3fieJnDrsjv9pV9fFFxa0."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$wA2BDj0wRgpJZX38GxzdwedHfdnmbDwLv.HKEUUW3a3SUo/x1Qgdq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$6ilUcIKCabuOBPgHIY0JXe4CDUdKph4zbTqmAs7gTMk7VSOcxiaZK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (1.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:32.354779' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "19393"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "06633"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "06633"], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:48:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "03466"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.7ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "69527"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (1.7ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "84811"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.7ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:32.604490' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '15555555555' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = '15555555555', "updated_at" = '2014-11-14 22:18:32.612231' WHERE "gringotts_settings"."id" = 1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = NULL WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:18:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:32 UTC +00:00], ["value", "45560"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction Connecting to database specified by database.yml  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$3dropGaOJQOyiSNg6t0e8eQRkhz5W0mScyz3uqwwa6x9s9ZK6T7jK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:37 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (1.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (18.2ms) Rendered layouts/_navigation.html.erb (1.6ms) Rendered layouts/_messages.html.erb (0.5ms) Completed 200 OK in 34.1ms (Views: 32.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Completed 401 Unauthorized in 2.5ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$divEm18l73nD.r2VFW8xjOu/eS04qBxMj5NLdLFHPS9NfM.iyoBge"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4.9ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.5ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:37.581119', "current_sign_in_at" = '2014-11-14 22:18:37.581119', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:37.581978' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 16.1ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:37.635074' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29.7ms (Views: 6.4ms | ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.5ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Pa1fqYgu82cUROE5DCxSe.ZGEzOfu0a.0deuzn3Zw3Bauh6UfpFl."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 3.1ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.5ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'wrong@example.com' LIMIT 1 Completed 401 Unauthorized in 1.4ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.3ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$HDiiDLHrekX93Ys7YWFlPeKEncu4MgVFX..bBTfV5TCkDM5LDkEqW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 2.9ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.5ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Completed 401 Unauthorized in 3.0ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.3ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$zNQEn4FWmfkL7/dy6HOfk.cuWG3p84CLT3PEFQWxmRYhwbj0gQ/B2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.9ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:38.120446', "current_sign_in_at" = '2014-11-14 22:18:38.120446', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:38.120891' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.7ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:38.139866' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10.1ms (Views: 2.9ms | ActiveRecord: 0.7ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4.5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.0ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 3.3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.9ms (Views: 3.4ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/registrations/new.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12.4ms (Views: 11.2ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2FOQLWhmXNzBhPqddJz/eea5UuVegbsHMHNfcfWCaajWJrMhWO/OC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:38.368512', "current_sign_in_at" = '2014-11-14 22:18:38.368512', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:38.369132' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 69.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:38.383541' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.8ms (Views: 2.6ms | ActiveRecord: 0.5ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 3.2ms (Views: 2.8ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/registrations/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"notanemail", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/registrations/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 11.0ms (Views: 5.4ms | ActiveRecord: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.9ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 3.0ms (Views: 2.6ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/registrations/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.2ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/registrations/new.html.erb within layouts/application (4.0ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10.4ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.8ms (Views: 3.2ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/registrations/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.5ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/registrations/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 9.8ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.5ms (Views: 3.1ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/registrations/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.8ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/registrations/new.html.erb within layouts/application (14.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 23.5ms (Views: 16.9ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0ug8HDnXw0mKntr068MshO3PROQOWgqyRhipo8UUJVaSPqv5S/2RW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.9ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:38.807960', "current_sign_in_at" = '2014-11-14 22:18:38.807960', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:38.808655' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7.9ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.4ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:38.823003' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.3ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 9.6ms (Views: 7.2ms | ActiveRecord: 0.3ms) Started PUT "/users" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by Devise::RegistrationsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8.6ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.8ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.0ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::RegistrationsController#edit as HTML Completed 401 Unauthorized in 0.3ms Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.3ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/sNHREJr9cdVYDDRcdc90eJQWIpVc9ibPCK7l.3Ck9ZUP3i7d0dX2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (82.3ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 86.3ms (Views: 85.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:39.147472', "current_sign_in_at" = '2014-11-14 22:18:39.147472', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:39.147984' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.0ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.8ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:39.160808' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.9ms (Views: 2.5ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9.5ms (Views: 6.6ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10.8ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["value", "73787"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:39.263695', "updated_at" = '2014-11-14 22:18:39.265313' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 60.3ms (Views: 8.8ms | ActiveRecord: 2.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"73787"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "73787"], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '73787' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:39.351496' WHERE "gringotts_attempts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:39.352548' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 14.1ms (ActiveRecord: 1.4ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.9ms (Views: 4.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.9ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.8ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:39.399048', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:39.399571' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2.3ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["value", "95324"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:39.425320', "updated_at" = '2014-11-14 22:18:39.426291' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (2.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21.0ms (Views: 5.2ms | ActiveRecord: 1.6ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$OdvzGxkkACLrFAco7cv7he6m.FDZuoA1LrwUIa3Qda6KEM/vL1xqu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:39.465529', "current_sign_in_at" = '2014-11-14 22:18:39.465529', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:39.465963' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.8ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6.3ms (ActiveRecord: 1.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:39.485291' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.2ms (Views: 2.8ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["value", "19892"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:39.534207', "updated_at" = '2014-11-14 22:18:39.535245' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 77.6ms (Views: 68.1ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"19892"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "19892"], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '19892' AND "gringotts_attempts"."successful" = 't'  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:39.620578' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:39.621359' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10.6ms (ActiveRecord: 1.4ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.5ms (Views: 2.7ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.4ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.7ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:39.659272', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:39.659776' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.8ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["value", "21623"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:39.680282', "updated_at" = '2014-11-14 22:18:39.681440' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18.8ms (Views: 3.5ms | ActiveRecord: 2.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["value", "78311"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:39.708827', "updated_at" = '2014-11-14 22:18:39.709836' WHERE "gringotts_deliveries"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16.8ms (Views: 5.8ms | ActiveRecord: 1.6ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$7A7aajiUi.mdzJxQCpXI5eDnRWPaMr0jPFXiJ5RPa9tztNjfgkyqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.8ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:39.751624', "current_sign_in_at" = '2014-11-14 22:18:39.751624', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:39.752062' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.9ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:39.767270' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.3ms (Views: 3.0ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 10.0ms (Views: 5.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.7ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.6ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["value", "82826"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:39.822161', "updated_at" = '2014-11-14 22:18:39.823146' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.2ms (Views: 3.6ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"82826"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "82826"], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '82826' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:39.909881' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:39.910691' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10.6ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.7ms (Views: 2.8ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.7ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:39.949186', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:39.949689' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.7ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.7ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["value", "87074"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:39.971508', "updated_at" = '2014-11-14 22:18:39.972915' WHERE "gringotts_deliveries"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19.8ms (Views: 3.4ms | ActiveRecord: 2.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 3.3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["value", "75190"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:39.996456', "updated_at" = '2014-11-14 22:18:39.998101' WHERE "gringotts_deliveries"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.3ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 17.0ms (Views: 4.6ms | ActiveRecord: 1.9ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ztp7aie0nxm.L9QUN.bNXOfkuwjaiesI.iC/fiKPEvZYpCU1IyYT6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.6ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:40.042878', "current_sign_in_at" = '2014-11-14 22:18:40.042878', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:40.043369' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.0ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.7ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:40.055835' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.4ms (Views: 2.4ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.5ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.6ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["value", "67806"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:40.103731', "updated_at" = '2014-11-14 22:18:40.106137' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15.9ms (Views: 3.7ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"67806"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "67806"], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '67806' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:40.124636' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:40.125409' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9.2ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3.0ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.9ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.4ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:40.225999', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:40.226555' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2.7ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["value", "25666"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:40.247997', "updated_at" = '2014-11-14 22:18:40.249208' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (3.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19.0ms (Views: 6.1ms | ActiveRecord: 1.9ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2.6ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["value", "17330"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:40.276226', "updated_at" = '2014-11-14 22:18:40.277197' WHERE "gringotts_deliveries"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.1ms (Views: 3.4ms | ActiveRecord: 1.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Vg97dLblRmcpXM5K2EjU/uC4CSbY7OXv7YFMpzySc1Gk.HoXdcZu."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.6ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:40.317046', "current_sign_in_at" = '2014-11-14 22:18:40.317046', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:40.317480' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.6ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.0ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:40.330445' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.4ms (Views: 2.4ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.5ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.5ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["value", "42858"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:40.376670', "updated_at" = '2014-11-14 22:18:40.377676' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.7ms (Views: 4.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"42858"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "42858"], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '42858' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:40.398946' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:40.399643' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9.0ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.9ms (Views: 2.5ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.4ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.7ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.9ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8.1ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:40.509118', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:40.509717' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2.1ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["value", "69902"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:40.526124', "updated_at" = '2014-11-14 22:18:40.527114' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.4ms (Views: 3.3ms | ActiveRecord: 1.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.7ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.9ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WEyyc8Ya76.qPAQaWVtvWeH0.ybUqNo0Pz27l2xu/tNkByzOb88CK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.8ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:40.605909', "current_sign_in_at" = '2014-11-14 22:18:40.605909', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:40.606350' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.6ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.0ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:40.619130' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.8ms (Views: 2.5ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (61.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 65.6ms (Views: 63.9ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 5.1ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.7ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["value", "18889"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:40.733629', "updated_at" = '2014-11-14 22:18:40.734647' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.5ms (Views: 3.7ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"18889"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "18889"], ["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '18889' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:40.753092' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:40.753813' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9.1ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 2.5ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.1ms (Views: 5.5ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dHZOadvFgSY73TEBa8NNDu.vXJMrJBK6aCoK9VVqqc0gqC9AlhGxK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 2.9ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.2ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:40.815716', "current_sign_in_at" = '2014-11-14 22:18:40.815716', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:40.816224' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.1ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:40.830764' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.8ms (Views: 2.5ms | ActiveRecord: 0.6ms)  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$JqSaRf2Cl6K9LyiKprSoIOEgDaonafzVyaeFN47rgueG5DG0JH2fC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 2.9ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.4ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:40.958437', "current_sign_in_at" = '2014-11-14 22:18:40.958437', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:40.959306' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7.6ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 10.9ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:40.981666' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.5ms (Views: 2.7ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (7.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.7ms (Views: 10.9ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/EoEmrqzHAmmUZiDhvitE.EZaaZkO1Ao3SCKkE0PQNV/NdKmm63KO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.6ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:41.075751', "current_sign_in_at" = '2014-11-14 22:18:41.075751', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:41.076646' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6.3ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:41.094875' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.6ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12.3ms (Views: 7.0ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 9.5ms (Views: 3.0ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8.2ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["value", "84890"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:41.219889', "updated_at" = '2014-11-14 22:18:41.220933' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14.0ms (Views: 3.9ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.7ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:41.255163', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:41.255667' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.5ms (Views: 2.2ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qe0JHDqtUWKwLUqo6Dds9eIRdhWsOZvG.P/mbjdsSjs3lLb7HWcEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 3.1ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:41.315168', "current_sign_in_at" = '2014-11-14 22:18:41.315168', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:41.315934' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.3ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:41.332239' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.5ms (Views: 2.4ms | ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.5ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.6ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.4ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:41.450298', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:41.451283' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.8ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$RBTp/fGYIyUjHhzYxSCVqe3HnavbG1H3qCvXznKOnfjVvns0PC90y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 2.9ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:41.508301', "current_sign_in_at" = '2014-11-14 22:18:41.508301', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:41.508928' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.0ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:41.523549' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.0ms (Views: 2.7ms | ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.7ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$tv1W5M1RHRIuSEgRNaGfMuor0IyEFYFn1rfFryQH6iWMVHBw1sizm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (1.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.6ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:41.669772', "current_sign_in_at" = '2014-11-14 22:18:41.669772', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:41.670267' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.1ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:41.684091' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.5ms (Views: 2.5ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8.1ms (Views: 6.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 63.5ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.9ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["value", "29269"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:41.798551', "updated_at" = '2014-11-14 22:18:41.799538' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.5ms (Views: 3.6ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"29269"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "29269"], ["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '29269' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:41.817643' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:41.818386' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9.2ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.9ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 2.9ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.0ms (Views: 2.6ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$c895d7JLb1BG.hdNt7l4vOCAEZ0I4KSeEmdcidh9duJE79eLSQ/QW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.9ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:41.875997', "current_sign_in_at" = '2014-11-14 22:18:41.875997', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:41.876644' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.6ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5.3ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:41.900206' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9.0ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.0ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.6ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["value", "12560"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:41.948098', "updated_at" = '2014-11-14 22:18:41.949163' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.2ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"12560"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "12560"], ["created_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '12560' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:41.967095' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:41.967805' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9.0ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 2.7ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 5.7ms (ActiveRecord: 0.5ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:41 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.1ms (Views: 3.1ms | ActiveRecord: 0.4ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$GCgeLNnRd843fG/h9BkguudXVX1tXPkpes5C1elObS854NafiueWC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.7ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:42.128732', "current_sign_in_at" = '2014-11-14 22:18:42.128732', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:42.129247' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.9ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:42.142080' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.7ms (Views: 2.5ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.6ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["value", "82786"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:42.191783', "updated_at" = '2014-11-14 22:18:42.192793' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14.2ms (Views: 3.6ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"82786"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "82786"], ["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '82786' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:42.210595' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:42.211295' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 8.8ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 2.6ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 2.9ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.0ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9b2mkoYf1lKvoFx2TLMXI.MWuINSLV/RM3UITllpqvreBteYSJooq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.8ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:42.331295', "current_sign_in_at" = '2014-11-14 22:18:42.331295', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:42.331739' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.5ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5.4ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:42.347747' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9.5ms (Views: 2.8ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.5ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.8ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.1ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["value", "49611"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:42.399315', "updated_at" = '2014-11-14 22:18:42.400326' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.3ms (Views: 3.6ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"49611"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "49611"], ["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '49611' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:42.418499' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:42.419211' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 8.9ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 2.9ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.0ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/disable" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#disable as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = NULL WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "gringotts_settings" WHERE "gringotts_settings"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/ Completed 302 Found in 7.1ms (ActiveRecord: 0.8ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.7ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.5ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$aQGxPBe.FyU9QT3PjwR8YugYcfcTNSeFswS/lClCkV02PIMvVZCpe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.2ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:42.585726', "current_sign_in_at" = '2014-11-14 22:18:42.585726', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:42.586178' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7.7ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:42.604065' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8.8ms (Views: 3.9ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.0ms (Views: 5.0ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$wcsl9PgXemSgy1dj.9AL2exaGOmgkqwBcxsyBMFW52vkwiW4.2O4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10.6ms (Views: 9.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:42.733678', "current_sign_in_at" = '2014-11-14 22:18:42.733678', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:42.734196' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.0ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:42.747569' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.0ms (Views: 2.6ms | ActiveRecord: 0.5ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3.2ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 3.3ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ciFqpujS.lblP8KVeJT2DuO3dEQsHPAaPE73fqLrz4iRaRH80TLGe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (2.0ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 10.2ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:42.806264', "current_sign_in_at" = '2014-11-14 22:18:42.806264', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:42.806714' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.0ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.2ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:42.820556' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.8ms (Views: 2.5ms | ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.3ms (Views: 3.7ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$gyv0xEQmgmGfSYR3Zff7oulpmDON6k6x7DQJybK7n/EMB1IKGltvG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11.5ms (Views: 10.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:42.892680', "current_sign_in_at" = '2014-11-14 22:18:42.892680', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:42.893195' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.4ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:42.906759' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (59.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 66.1ms (Views: 62.0ms | ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.1ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:42 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"(406) 444-4444"}, "commit"=>"Save and continue"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.3ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14064444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["phone_number", "14064444444"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14064444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 12.7ms (ActiveRecord: 1.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:43 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["value", "91457"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14064444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:43.023904', "updated_at" = '2014-11-14 22:18:43.024986' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14.5ms (Views: 3.9ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FLZ5rxRdqPQuL5v09clj5OimGqerpER7w7t4c.G4Dzx8f9dcOXVDa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.3ms (Views: 6.1ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:43.071193', "current_sign_in_at" = '2014-11-14 22:18:43.071193', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:43.071636' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.9ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:43.088776' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.8ms (Views: 2.9ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.8ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.8ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 2) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 2) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:43 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["value", "85129"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:43.155580', "updated_at" = '2014-11-14 22:18:43.156601' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12.9ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$y826oMeU.6h95vLFsZxlSOUaZ/Xqjs//ZiowoQk1eAIaw6inb1A7K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.3ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:43.192053', "current_sign_in_at" = '2014-11-14 22:18:43.192053', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:43.192491' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5.5ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (1.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:43.210158' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8.6ms (Views: 2.8ms | ActiveRecord: 1.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (71.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 76.2ms (Views: 73.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>""}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 11.0ms (Views: 3.6ms | ActiveRecord: 0.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$zwvJSQkupFsL9bYEcJFsRuJPUS/T2kzeaiF151/vOvChncthCUQdq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.9ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:43.362026', "current_sign_in_at" = '2014-11-14 22:18:43.362026', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:43.362523' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.8ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:43.375530' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.7ms (Views: 2.5ms | ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.3ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"12345"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 10.2ms (Views: 3.2ms | ActiveRecord: 0.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$xZH3/iwqyWOV1nZRSrdySeHaXotg5o4DVxzdY65YgqmFMR8pFXIyi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.0ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:43.516548', "current_sign_in_at" = '2014-11-14 22:18:43.516548', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:43.517003' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.6ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6.3ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:43.535456' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.1ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.0ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.4ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:43 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["value", "58038"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (5.8ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:43.580753', "updated_at" = '2014-11-14 22:18:43.583471' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 26.7ms (Views: 3.8ms | ActiveRecord: 7.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.2ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 2.7ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:43 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["value", "54475"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:43.618378', "updated_at" = '2014-11-14 22:18:43.619355' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12.8ms (Views: 3.5ms | ActiveRecord: 1.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$7eYA.36Knouad3R1RqFsPOP0DH.DIsWjp915uvr/oMNHiKIJm4Fbu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.9ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:43.726854', "current_sign_in_at" = '2014-11-14 22:18:43.726854', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:43.727373' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.0ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:43.740930' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.2ms (Views: 2.7ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.2ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.7ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.1ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:43 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["value", "15925"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:43.792832', "updated_at" = '2014-11-14 22:18:43.793820' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15.6ms (Views: 3.6ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"15925"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "15925"], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '15925' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:43.812097' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:43.812795' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9.0ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 2.7ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.4ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.7ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:43.848871', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:43.849341' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4.9ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.7ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:43 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["value", "86191"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:43.868672', "updated_at" = '2014-11-14 22:18:43.869793' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (1.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.5ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 28.6ms (Views: 7.1ms | ActiveRecord: 3.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ws55NXRfV5CmrNbYaSUBPOmvCqYPnFKvQBWeWE56l0KpX8.ZA9rHO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (15.7ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19.8ms (Views: 18.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:44.013806', "current_sign_in_at" = '2014-11-14 22:18:44.013806', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:44.014360' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.8ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:44.027558' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.0ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.8ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.0ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "92842"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.075608', "updated_at" = '2014-11-14 22:18:44.076685' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.2ms (Views: 3.6ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"92842"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "92842"], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '92842' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:44.094608' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:44.095345' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9.0ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.0ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.2ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.6ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.0ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:44.131032', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:44.131537' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.9ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "57464"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.151702', "updated_at" = '2014-11-14 22:18:44.152892' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19.1ms (Views: 3.9ms | ActiveRecord: 2.0ms)  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9G89JZEtenWYgnlO6BhgA./SVtylq5mcMOks1iMLEvcyDDA.VH8UG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.9ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:44.270375', "current_sign_in_at" = '2014-11-14 22:18:44.270375', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:44.270825' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.6ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.9ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:44.288237' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9.8ms (Views: 2.9ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.5ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "10014"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.338069', "updated_at" = '2014-11-14 22:18:44.339080' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.2ms (Views: 3.5ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"10014"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "10014"], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '10014' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:44.357039' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:44.357829' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10.4ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.8ms (Views: 2.8ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.9ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.9ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:44.396809', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:44.397265' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4.9ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.7ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "08601"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.482726', "updated_at" = '2014-11-14 22:18:44.483814' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 84.3ms (Views: 3.9ms | ActiveRecord: 1.7ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ZOmUI6h.3Uex8qPuWxmCf..1j7bXUwvUwjJgKgjnjdrqbHROGXtPK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.7ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:44.534396', "current_sign_in_at" = '2014-11-14 22:18:44.534396', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:44.534993' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7.5ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.2ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:44.549836' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.1ms (Views: 2.5ms | ActiveRecord: 0.6ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Kgs02Mo4L0Pms5CWThzzj.AaRlMfFf641tqE22fM7Zvba/rNtqu1q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.5ms (Views: 5.2ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:44.581948', "current_sign_in_at" = '2014-11-14 22:18:44.581948', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:44.582400' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.9ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:44.602898' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11.8ms (Views: 2.8ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.4ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.7ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "38604"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.717980', "updated_at" = '2014-11-14 22:18:44.718988' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 79.0ms (Views: 4.0ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.2ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "74705"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.751752', "updated_at" = '2014-11-14 22:18:44.752779' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.7ms (Views: 3.9ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9.0ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "72410"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.785683', "updated_at" = '2014-11-14 22:18:44.787021' WHERE "gringotts_deliveries"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (2.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18.4ms (Views: 7.4ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.3ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "95763"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.818718', "updated_at" = '2014-11-14 22:18:44.819729' WHERE "gringotts_deliveries"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.7ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12.5ms (Views: 3.3ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.2ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "55817"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 5], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.847994', "updated_at" = '2014-11-14 22:18:44.848961' WHERE "gringotts_deliveries"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.7ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12.3ms (Views: 3.3ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10.0ms (ActiveRecord: 1.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "52562"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.3ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 6], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.4ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.882326', "updated_at" = '2014-11-14 22:18:44.885555' WHERE "gringotts_deliveries"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20.4ms (Views: 4.3ms | ActiveRecord: 2.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:44 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["value", "26738"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 7], ["created_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:44 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:44.915636', "updated_at" = '2014-11-14 22:18:44.916639' WHERE "gringotts_deliveries"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12.4ms (Views: 3.3ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$AnAQnPxsIpSQLr1gdY3wm.UVzkMkKKgxCtUVjFYygcOcUfctwZF8."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.8ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:45.029963', "current_sign_in_at" = '2014-11-14 22:18:45.029963', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:45.030906' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.7ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:45.047941' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.8ms (Views: 3.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.9ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.6ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.7ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "87503"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.096706', "updated_at" = '2014-11-14 22:18:45.097720' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.3ms (Views: 3.6ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"87503"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "87503"], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '87503' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:45.115869' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:45.116570' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 8.9ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (6.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 18.6ms (Views: 16.2ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.7ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.7ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.0ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:45.168374', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:45.168855' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.0ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.7ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "73181"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.189408', "updated_at" = '2014-11-14 22:18:45.190443' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18.5ms (Views: 3.6ms | ActiveRecord: 1.9ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:45.210114') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9.2ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "32677"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.292755', "updated_at" = '2014-11-14 22:18:45.293773' WHERE "gringotts_deliveries"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 84.4ms (Views: 3.7ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:45.313151') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8.5ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "83871"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.325331', "updated_at" = '2014-11-14 22:18:45.326298' WHERE "gringotts_deliveries"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.7ms (Views: 3.5ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:45.344538')  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:18:45.345448' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 10.8ms (ActiveRecord: 1.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.9ms (Views: 3.5ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$m8WbzbdxiYQ1YQj8Pskcp.2p/qYjH4.L2Vy.AxBCirKzpxan5kDbK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.0ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:45.413610', "current_sign_in_at" = '2014-11-14 22:18:45.413610', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:45.414149' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9.1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.8ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:45.428727' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.5ms (Views: 2.6ms | ActiveRecord: 1.4ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.9ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.7ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "25701"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.477819', "updated_at" = '2014-11-14 22:18:45.478771' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.2ms (Views: 3.7ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"25701"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "25701"], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '25701' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:45.558854' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:45.559628' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10.5ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.2ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.7ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.2ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.7ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:45.599548', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:45.600044' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.9ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "47325"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.615733', "updated_at" = '2014-11-14 22:18:45.616776' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.2ms (Views: 3.4ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:45.634070') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.8ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "69879"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.646440', "updated_at" = '2014-11-14 22:18:45.647442' WHERE "gringotts_deliveries"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.9ms (Views: 3.5ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:45.665165') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.8ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "32020"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.677368', "updated_at" = '2014-11-14 22:18:45.678321' WHERE "gringotts_deliveries"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.8ms (Views: 3.5ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.8ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:45.701550')  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:18:45.702437' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 13.0ms (ActiveRecord: 2.0ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.0ms (Views: 2.3ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 2.1ms (ActiveRecord: 0.2ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.6ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Oj4TatPYudjrHK7f5I7LMufXK3Ir//wutM.Ea6oGsMHNozSkXlDS2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.7ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:45.838653', "current_sign_in_at" = '2014-11-14 22:18:45.838653', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:45.839164' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5.1ms (ActiveRecord: 1.4ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:45.853927' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.4ms (Views: 2.9ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (10.5ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18.6ms (Views: 15.3ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3.4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.6ms (Views: 3.1ms | ActiveRecord: 0.5ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.1ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "38610"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.924399', "updated_at" = '2014-11-14 22:18:45.925400' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.5ms (Views: 3.6ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"38610"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "38610"], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '38610' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:45.943826' WHERE "gringotts_attempts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:45.944565' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9.0ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.0ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2.6ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.8ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:45.978388', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:45.978848' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4.9ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.9ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:45 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["value", "25329"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:45 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:45.996427', "updated_at" = '2014-11-14 22:18:45.997814' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17.0ms (Views: 3.5ms | ActiveRecord: 1.7ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:46.016389') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.7ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "84666"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.028285', "updated_at" = '2014-11-14 22:18:46.029231' WHERE "gringotts_deliveries"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.6ms (Views: 3.6ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:46.108866') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 70.2ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "05361"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.121449', "updated_at" = '2014-11-14 22:18:46.122481' WHERE "gringotts_deliveries"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14.0ms (Views: 3.6ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:46.141438')  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:18:46.142583' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 11.3ms (ActiveRecord: 1.4ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.8ms (Views: 2.6ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 2.2ms (ActiveRecord: 0.2ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.6ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Gbti35BBYeUWhSt12djb1eYFOrzOIPiR.ktKtzR/G9cWt388Xh0Km"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.1ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:46.207008', "current_sign_in_at" = '2014-11-14 22:18:46.207008', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:46.207529' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.2ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:46.221262' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.1ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.7ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.8ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "52037"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.268270', "updated_at" = '2014-11-14 22:18:46.269258' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.0ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"52037"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "52037"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '52037' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:46.286851' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:46.287602' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 8.9ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 63.0ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.0ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.4ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:46.385014', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:46.385553' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2.0ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "50014"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.401523', "updated_at" = '2014-11-14 22:18:46.402488' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.2ms (Views: 3.4ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:46.419758') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "17288"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.431814', "updated_at" = '2014-11-14 22:18:46.432801' WHERE "gringotts_deliveries"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.6ms (Views: 3.5ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:46.450613') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "20327"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.462436', "updated_at" = '2014-11-14 22:18:46.463396' WHERE "gringotts_deliveries"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.5ms (Views: 3.5ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:46.480812')  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:18:46.481795' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 10.0ms (ActiveRecord: 1.2ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.0ms (Views: 2.3ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3.1ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.3ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$O.KE8mZ587TVyR0N3lAw0OTGD7idopIgoG867zloNuJB1cGg/Lyw."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (7.0ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10.9ms (Views: 10.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:46.614741', "current_sign_in_at" = '2014-11-14 22:18:46.614741', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:46.615261' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.0ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:46.628699' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.2ms (Views: 2.7ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.0ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.8ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.3ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "61081"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.677813', "updated_at" = '2014-11-14 22:18:46.678857' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.5ms (Views: 3.7ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"61081"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "61081"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '61081' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:46.704603' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:46.705414' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 11.0ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.5ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.9ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12.5ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.0ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:46.759101', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:46.759592' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.8ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "02385"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.774592', "updated_at" = '2014-11-14 22:18:46.775539' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12.6ms (Views: 3.3ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:46.794695') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9.1ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "67963"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.807583', "updated_at" = '2014-11-14 22:18:46.808531' WHERE "gringotts_deliveries"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.8ms (Views: 3.8ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:46.826292') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:46 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["value", "35451"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.4ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:46.842194', "updated_at" = '2014-11-14 22:18:46.843374' WHERE "gringotts_deliveries"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18.1ms (Views: 3.7ms | ActiveRecord: 2.1ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:46 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:46.939283')  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:18:46.941886' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 14.8ms (ActiveRecord: 1.4ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.1ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 1.9ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:46 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.0ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$mcBMV5LCHL38p3umf9uxveqTDHMFU1K8BSnlXM3fcANdRuN8Yf8em"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.4ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:47.032366', "current_sign_in_at" = '2014-11-14 22:18:47.032366', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:47.032892' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.9ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 8.7ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:47.052046' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.8ms (Views: 2.9ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.4ms (Views: 5.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.7ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.9ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:47 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["value", "26162"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:47.102344', "updated_at" = '2014-11-14 22:18:47.103350' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.4ms (Views: 3.7ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"26162"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "26162"], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '26162' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:47.121395' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:47.122109' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 8.9ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (10.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15.5ms (Views: 2.5ms | ActiveRecord: 10.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2.5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3.0ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.2ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:18:47.231759', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:18:47.232351' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2.2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:47 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["value", "98453"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:47.249513', "updated_at" = '2014-11-14 22:18:47.250581' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.8ms (Views: 3.5ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:47.268262') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:47 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["value", "32177"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:47.280366', "updated_at" = '2014-11-14 22:18:47.281322' WHERE "gringotts_deliveries"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.6ms (Views: 3.5ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:47.298931') Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:47 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["value", "96912"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:47.311130', "updated_at" = '2014-11-14 22:18:47.312109' WHERE "gringotts_deliveries"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14.1ms (Views: 3.8ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:48:47.330209')  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:18:47.331194' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 9.9ms (ActiveRecord: 1.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2.0ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 2.3ms (ActiveRecord: 0.2ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 3.8ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$QqfSIgldMcwPE8ZdWXNFy.8n5/53D0c5aTFHVQPMeZ5SfFf5XpyV6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (4.0ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8.0ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:47.399333', "current_sign_in_at" = '2014-11-14 22:18:47.399333', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:47.399898' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.9ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.9ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:47.412766' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.7ms (Views: 2.6ms | ActiveRecord: 0.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Filter chain halted as :require_gringotts rendered or redirected Completed 302 Found in 3.0ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.6ms (Views: 3.3ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Cw.gMJaoG.LnaNrhWv9zKOD.5otGdD.kRc3sBkKs6me3Yh.3RouUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.9ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:47.532737', "current_sign_in_at" = '2014-11-14 22:18:47.532737', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:47.533226' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.0ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:47.546764' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.0ms (Views: 2.7ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$4oUVOLMf6dYifXy2wA2TCeONGHqLHfYJQjXotOKejCcVgRVt7uBDC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.3ms (Views: 5.0ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:47.577405', "current_sign_in_at" = '2014-11-14 22:18:47.577405', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:47.577942' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.9ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:47.597395' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11.7ms (Views: 3.5ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.6ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.9ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:47 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["value", "48141"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:47.648255', "updated_at" = '2014-11-14 22:18:47.649295' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.2ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Z/Nd1FafUfLZFDSIIMaHjex7WUPG9ke3JfT7Q7sNfgX3gPCaSL7gO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.5ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:47.685473', "current_sign_in_at" = '2014-11-14 22:18:47.685473', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:47.685904' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.3ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:47.714941' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.2ms (Views: 2.6ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$TEfgdEmQrU/wQfPubagAUO6AJH/fqqZUmrHbz.QWmaPxnmz0Q3Xx6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.9ms (Views: 5.6ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:47.816035', "current_sign_in_at" = '2014-11-14 22:18:47.816035', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:47.816489' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.5ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.8ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:47.828935' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.8ms (Views: 2.6ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.8ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.6ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:47 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["value", "42286"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:47.879035', "updated_at" = '2014-11-14 22:18:47.880535' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16.4ms (Views: 3.8ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/Ls.bkP.nf41f1KDfF0JEOwkTxpjaeHNGJ7Ms3/L.RD6IDyWEAVAq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:47 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.3ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:48.015903', "current_sign_in_at" = '2014-11-14 22:18:48.015903', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:48.016421' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.0ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:48.029609' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.9ms (Views: 2.6ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$65a6pZz.XOp1RWphAhOZ3eairgAdEcEFATThTFo7xtadd/nTyl036"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.3ms (Views: 5.1ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:48.058690', "current_sign_in_at" = '2014-11-14 22:18:48.058690', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:48.059128' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.7ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:48.071788' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10.9ms (Views: 5.0ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.2ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.1ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.2ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:48 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["value", "81917"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:48.125198', "updated_at" = '2014-11-14 22:18:48.126189' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12.9ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"81917"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "81917"], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '81917' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_attempts" SET "successful" = 't', "updated_at" = '2014-11-14 22:18:48.148250' WHERE "gringotts_attempts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:18:48.148968' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10.5ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.0ms (Views: 3.5ms | ActiveRecord: 0.8ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 ORDER BY "gringotts_attempts"."id" DESC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1vaphs5Ezg0uFHg7qFAemOHmnYNJTdu06LYM0Qd4B6vxv44fly05."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.9ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:48.269911', "current_sign_in_at" = '2014-11-14 22:18:48.269911', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:48.270374' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5.5ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:48.287669' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.7ms (Views: 3.0ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.8ms (Views: 6.2ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.6ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.1ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:48 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["value", "82674"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:48.337468', "updated_at" = '2014-11-14 22:18:48.338462' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12.9ms (Views: 3.6ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 3.9ms (Views: 2.1ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$NrpkhFVO97sHIvQPNFwfNu0UpeFn3PIL9uid8IbV3RnwCfzQjK86C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.8ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:48.461374', "current_sign_in_at" = '2014-11-14 22:18:48.461374', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:48.461821' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.5ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5.3ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:48.479438' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9.4ms (Views: 2.8ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.7ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:48 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["value", "47793"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:48.529806', "updated_at" = '2014-11-14 22:18:48.530835' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.3ms (Views: 3.6ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by HomeController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4.4ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 2.9ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:48 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["value", "42517"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:48.558848', "updated_at" = '2014-11-14 22:18:48.559816' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.3ms (Views: 3.8ms | ActiveRecord: 1.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$x8xU.gT4gHYd8DCZm6FJ5OofowcEqqecRvzoigWlpHRAcqWXR5e7."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.8ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:48.608474', "current_sign_in_at" = '2014-11-14 22:18:48.608474', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:48.608985' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.6ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:48.620799' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.4ms (Views: 2.6ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.5ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3.4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.5ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:48 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["value", "93897"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:48.737246', "updated_at" = '2014-11-14 22:18:48.738278' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.3ms (Views: 3.6ms | ActiveRecord: 1.4ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$M/KAVbpQPybz.5nV.e4ESOoBZgNy462nuVvlSRUV46rwBVb5fw4iG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:48.789136', "current_sign_in_at" = '2014-11-14 22:18:48.789136', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:48.789911' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8.0ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.8ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:48.803663' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.5ms (Views: 2.7ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2RkNSFX6upstF5Tua.pZwOOMpaQJcrV7d/.8fNfXyP8f9qScxPAXm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.3ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:48.832988', "current_sign_in_at" = '2014-11-14 22:18:48.832988', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:48.833422' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.7ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:48.845956' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 80.6ms (Views: 74.8ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.7ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3.1ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.4ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8.5ms (ActiveRecord: 1.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:48 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:48 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["value", "24462"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (2.6ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:48 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:48.987019', "updated_at" = '2014-11-14 22:18:48.988383' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (4.3ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 34.3ms (Views: 9.8ms | ActiveRecord: 4.7ms) Gringotts::Vault Load (0.9ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>""}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6.6ms (ActiveRecord: 0.5ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:49 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["value", "23998"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:49.027544', "updated_at" = '2014-11-14 22:18:49.028537' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.3ms (Views: 3.8ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$cPlHwkwXzDcMaYYBdP24Lu1R8bKG//rLPDN5FGB6LZ4B6w85m0FKa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.1ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:49.165245', "current_sign_in_at" = '2014-11-14 22:18:49.165245', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:49.165892' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8.0ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4.2ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:49.180715' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.0ms (Views: 2.7ms | ActiveRecord: 0.6ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$G/f236WgGoKcbI4dAz/hveyAgV0TMJRCtF5bTv2w5OnT8TLkHzz12"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.3ms (Views: 5.1ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:49.210378', "current_sign_in_at" = '2014-11-14 22:18:49.210378', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:49.210822' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.5ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.7ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:49.226093' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11.8ms (Views: 3.9ms | ActiveRecord: 1.1ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.9ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.5ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.3ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:49 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["value", "64530"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:49.278301', "updated_at" = '2014-11-14 22:18:49.279291' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.2ms (Views: 3.6ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"asdf"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "asdf"], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:49 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["value", "75454"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:49.310090', "updated_at" = '2014-11-14 22:18:49.311102' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.2ms (Views: 3.8ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$LITbg8kURmLuZuQOfarQL.A0BQ1V0NBGgk4kOy94cul8a5ZbDMUZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (1.2ms) Rendered layouts/_messages.html.erb (0.9ms) Completed 200 OK in 10.0ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:49.450092', "current_sign_in_at" = '2014-11-14 22:18:49.450092', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:49.450613' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6.8ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5.3ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:49.467166' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8.2ms (Views: 2.7ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$E1HI4SMebpNWlXqpvrDq4u.ehUoMbt2/lE6T3VKJENGshaxz43etG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6.3ms (Views: 5.1ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:49.504998', "current_sign_in_at" = '2014-11-14 22:18:49.504998', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:49.505556' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7.5ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3.8ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:49.518744' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (62.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 69.8ms (Views: 65.1ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10.4ms (Views: 8.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2.9ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 5.5ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.5ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:49 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["value", "96599"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:49.638320', "updated_at" = '2014-11-14 22:18:49.639357' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.8ms (Views: 3.8ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_codes" SET "expires_at" = '2014-11-14 21:48:49.650113', "updated_at" = '2014-11-14 22:18:49.650861' WHERE "gringotts_codes"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"96599"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "96599"], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:49 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["value", "75331"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:49.674040', "updated_at" = '2014-11-14 22:18:49.674991' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.5ms (Views: 3.9ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$kfxYgi3VeEZSCkqFkYN8I.OKEtl3w.EwiK7deQ4DkPt.Eo2iWm8xC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5.9ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:49.826274', "current_sign_in_at" = '2014-11-14 22:18:49.826274', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:49.826722' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5.6ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5.5ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:49.844454' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7.9ms (Views: 3.0ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$hxYqICMACQ.PsELLbz5nuO6sUsOHntHVMu/8YYPhX77WGDoGesSb6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.7ms (Views: 5.4ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:18:49.877070', "current_sign_in_at" = '2014-11-14 22:18:49.877070', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:18:49.878185' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8.4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5.0ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:18:49.896872' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12.5ms (Views: 5.1ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 7.7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4.1ms (ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 6.0ms (Views: 3.2ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.0ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:49 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["value", "84032"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:49 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:49.954167', "updated_at" = '2014-11-14 22:18:49.955160' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13.2ms (Views: 3.6ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "84032"], ["created_at", Fri, 14 Nov 2014 22:18:50 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:18:50 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:18:50 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"84032"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "84032"], ["created_at", Fri, 14 Nov 2014 22:18:50 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:18:50 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '84032' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7.8ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:18:50 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:18:50 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:23:50 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:18:50 UTC +00:00], ["value", "60568"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:18:50 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:18:50 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:18:50.065266', "updated_at" = '2014-11-14 22:18:50.066261' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13.4ms (Views: 3.9ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:14 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$J0nQyoipHLB.6dVy.izTA.Du9CJxt4l5wsdQN7luVL9AsBrQEXFH2"], ["updated_at", Fri, 14 Nov 2014 22:19:14 UTC +00:00]]  (0.9ms) commit transaction  (1.0ms) DELETE FROM "gringotts_attempts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_attempts';  (0.9ms) DELETE FROM "gringotts_codes";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_codes';  (0.9ms) DELETE FROM "gringotts_deliveries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_deliveries';  (0.7ms) DELETE FROM "gringotts_settings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_settings';  (0.9ms) DELETE FROM "gringotts_vaults";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_vaults';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "91554"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "72697"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "64081"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "28166"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "91386"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "85670"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "74936"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "05667"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "46383"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "39537"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "56495"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "70390"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (1.6ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:49:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "22113"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (1.6ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "29514"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "80737"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "62729"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "62729"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "52732"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:49:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "09601"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "09601"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "83765"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "83765"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "63662"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:49:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "77662"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "77662"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "62202"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "62202"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "19914"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:49:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "52686"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "52686"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "21196"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "21196"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "88396"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:49:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "52759"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "52759"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "21766"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "21766"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "81519"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:49:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "21472"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "21472"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.5ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "95207"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "95207"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "59830"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "00554"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "00554"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "48915"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "48915"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "92454"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "74315"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "74315"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "36066"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "25834"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "25834"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "73314"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "49626"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "49626"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.4ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '49626' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "00836"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "00836"], ["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:15 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:15 UTC +00:00], ["value", "34420"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "19901"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "19901"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '19901' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "05644"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "05644"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "95476"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "00015"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "00015"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.5ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "56719"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "56719"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "32685"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "11524"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "11524"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "11524"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "22519"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "22519"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "23593"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "99457"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "99457"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "99457"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '22519' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "35625"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "35625"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "88525"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "75349"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "75349"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "75349"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '75349' AND "gringotts_attempts"."successful" = 't'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.4ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "85529"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "85529"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "45714"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "12324"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "12324"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "12324"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '12324' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "97906"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "97906"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "95502"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "67781"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "67781"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "67781"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '67781' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "80595"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '15555555555' AND "gringotts_settings"."id" != 1) LIMIT 1 SQL (0.3ms) UPDATE "gringotts_settings" SET "phone_number" = ?, "updated_at" = ? WHERE "gringotts_settings"."id" = 1 [["phone_number", "15555555555"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]] Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$.Rm7YONomg3BjfI37dNuOu7YCrkw1G4ctDoim8lNPSG1un3.ewRO6"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2fkGVfYij/tmiC3fH1aVUesisH4TF98NgOOpCaUc1YAks7uAC.LOG"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$uxKHjg1cublFqEFC7a4XTuBTMQV0L61x7lhKBg8oHDVYLy.r8qAoG"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$TD.6MSwDwuIdSqGIAKhtQuoa8K5Lef1OFbsHyvod3kcyr9I7ntWG."], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '18005551212' AND "gringotts_settings"."id" != 1) LIMIT 1 SQL (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = ?, "updated_at" = ? WHERE "gringotts_settings"."id" = 1 [["phone_number", "18005551212"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2HOSB2ND/IOIsrSbFoKfoeRsATbIOn1oQX0ayeXlMDx36MOHXbnku"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "61200"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/pW4DH8w5tncS9js7Co/6eMN1EGRsN1nDsJq6XhR4H4IPWchMjM5y"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.3ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:16.525307') [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$N333xeExjiuf.y4Ii1MSUOhrtmQv8oM4HAVIFkubMJCW/KGxXJXge"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$IoSl0IiLt2.u5zwx47uE1O./N0zN9GVw6KUkYto.dBkL1AnkLYdHS"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.8ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$n9//t.WID8Lu5dwIK71GJ.WZ.IDc15FhYt7iAj7AB51LXqfkblH06"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$NH.MKTDoxCvf1mkwpLhnOOmlgwyL4t5dg5KVfnbmym9TXj5GiVAua"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$JtGDj2Lq8hfL.V1wl9/qjeNtfUHkeOUreMYMADKn3g3FZG38zZpai"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:16.625230') [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$7y4BJJlvV.B3D0MauUDr2O3wFUyIILHqQxnMwwgj9k98j9bVkOZeS"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "00262"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$cJUF70wzU6tcQwqXQLUOReBEIMQrBmf.KsX8HlnaNeCXCasCMIE8e"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$hd2DRRQFreVjvqtl9PoCYeJpTmHMEHILarUHnBaqJYFndQ0kxpKTW"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$aT01Hp4mCabsC8Tu9J1jJu7ihE7nwo50f.n0HYpebFpToZBcFovOe"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "85980"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Fbeo0BM5HwBvQr04z4KE1eYp6bkiQcYsaP/5BxcypdI7C0Xa.t46e"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$RrTLy9LU1ZQXhfCbSt4XSuUnWNM1Z8g/ELw3PkXc4s/IJBfLpEcwm"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 21:49:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ly2lVjD62y7KrcbWM6.4oe8.17ZLtd7Qv7JXoxsOoETX4G7CIxDoC"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$nmwtDTc4ZVYKUUJGLs7iZuxA4T9pybLHaHE4FMzVdT8EhTvtw55mS"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$uMmw61SA3a06nRlIh7soj.zAGNahoOhCVGDY/DFUT2Iv3U3wag61m"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$6jocqPO0.ae7DmYzli4T7OkVddU2/0LSChX3AzWAw55IS551auOKG"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$3CSHjqfgcu4ZhXrkAFfKWuAalEqt67lciNSjlgQ6jNpniOe/mtVX6"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.7ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$euZOCBipALbnHPssXeruz.Q3ysUsl4hNowkOq8vvDq//VaJD3DIyy"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$R74QktzYwqnwsv3gpicRXOSce2eo6Ux4VV1BN.oYNieQe3lVzo.nC"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "79035"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "95404"], ["vault_id", 1]] Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.3ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "71161"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "73581"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["value", "97309"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["value", "21647"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["value", "29953"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["value", "34189"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["value", "28120"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["value", "18588"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["value", "96778"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.7ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["value", "67999"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.6ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'the_user@foo.bar.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'first.last@foo.jp' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["email", "user@example.com"], ["encrypted_password", "$2a$04$aXpQStqYE9SePFIsC5OFr.VlPb60fFuKxxpCrU1RCXWAcgmDQ2uGO"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["email", "user@example.com"], ["encrypted_password", "$2a$04$QFpGRZ2p2OZvoSZ4/IdupeeIswcUOoFSocYbDZ6vO1RRycaDF2cj2"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo,com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_at_foo.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example.user@foo.' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["email", "user@example.com"], ["encrypted_password", "$2a$04$EIlw4.T6/rSZepez3Gzl9OXS4gN3zE11y7gBRMFZ5dJPRKrl.nnX6"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["email", "user@example.com"], ["encrypted_password", "$2a$04$txREdL6yV9QyT55yzj3A2uOFJEfG3z5FIwE2CucLwuZnB9GOsZHHq"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["email", "user@example.com"], ["encrypted_password", "$2a$04$sd6LqH2rZX8PcyS4L1a8IunmDMxn/EEqor22NlfpKQsgvr7mN84.6"], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:19:17 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["value", "43040"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "43040"], ["created_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:17 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:21 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$j1HB2QPKPI0Zr97kMsuWB.ABMYny8KQafuB6ubI/Fff2u0W/cg3Nm"], ["updated_at", Fri, 14 Nov 2014 22:19:21 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (1.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (82.2ms) Rendered layouts/_navigation.html.erb (3.7ms) Rendered layouts/_messages.html.erb (1.9ms) Completed 200 OK in 152ms (Views: 117.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 3ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$JYFXu/Hj3ZxwmgcmHijBzeCw85XKB2B2uJ3XI2C7GMgPQDNfZZWjW"], ["updated_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (2.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 6.3ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$neCkxb5.ldlK3Xj2I089GeKo7iVT./o3orgf7z5OVwYlbMXxH7rJe"], ["updated_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'wrong@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 2ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$mCgwkYzo2PD89T32Kw28x.ccSqcibJzy0jIsZ85jTHEfYPVR64A5q"], ["updated_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (61.5ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 66ms (Views: 64.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 3ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/Q9J2VLjSgk5i96mr1ERt.rtJ5dyRhPTLDr8cUHnujOj/pMW.3lVq"], ["updated_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.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 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.8ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (5.3ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:19:22 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$XfWK6vmJDCqgBBLUOv24EuYTFEhORFy4jnwpeR9UPTPH2iNXyrtx2"], ["updated_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.7ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' ORDER BY "users"."id" ASC LIMIT 1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"notanemail", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (4.5ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 6.8ms | ActiveRecord: 0.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 5.6ms | ActiveRecord: 0.3ms)  (261.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 6.3ms | ActiveRecord: 0.4ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (5.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 7.3ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$gcd9A6.Oucjys/vJNHEBi.eStH4Ao5Q272ROdxqBGxhoPrkoNbfAi"], ["updated_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.3ms) Started PUT "/users" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 86ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::RegistrationsController#edit as HTML Completed 401 Unauthorized in 1ms Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FfsTOnwtf6gKQO8KrWzOWe.xCkjVNtQ3jo/NzVCyn/iMG/bkqoMj6"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.4ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 3.4ms | ActiveRecord: 1.2ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 13ms (ActiveRecord: 1.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["value", "83491"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.5ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.3ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (4.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 183ms (Views: 8.5ms | ActiveRecord: 3.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"83491"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '83491' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "83491"], ["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 15ms (ActiveRecord: 1.6ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.0ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["value", "94931"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 84ms (Views: 69.9ms | ActiveRecord: 1.8ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$KpuM4cDtMlEDu0u5G4QcRO/.DIKb5VdC7cvHh0t5JGJoZKVi9UX1i"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.2ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["value", "93690"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.5ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"93690"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '93690' AND "gringotts_attempts"."successful" = 't'  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "93690"], ["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 16ms (ActiveRecord: 1.8ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["value", "28549"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 3.5ms | ActiveRecord: 2.4ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["value", "56708"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 4.0ms | ActiveRecord: 1.8ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$IEVhPPZzXeV6g0AZd0Z5IOPOeFtqMXsUwmudmeYFcSr3szWjbfEZS"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["value", "11453"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"11453"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '11453' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "11453"], ["created_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 12ms (ActiveRecord: 1.7ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:24 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (3.3ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["value", "91749"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 3.2ms | ActiveRecord: 5.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["value", "59631"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.6ms | ActiveRecord: 1.6ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ojJSA8Q9UTFOeaVzIIeG9e2JEXQgAvrLI0YwKv0o0VNPB.RG8M.nm"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 90ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["value", "34281"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.6ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"34281"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '34281' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "34281"], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["value", "96274"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 3.2ms | ActiveRecord: 3.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["value", "28460"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 3.6ms | ActiveRecord: 1.8ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$NbGMd6btu/bZTxEN99iV8.UYCZK9AAyS.ehouoig5tDosuEVYc9z2"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["value", "33932"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 4.1ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"33932"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '33932' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "33932"], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 11ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["value", "73898"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 3.1ms | ActiveRecord: 2.0ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$4eHWjCpfc2qGdxdi/ESZjeLsTUeMTGBS/Zadh1KuQIr5tN9i8.7su"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.1ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.6ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["value", "94412"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 4.2ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"94412"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '94412' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "94412"], ["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$YFI1yF1oBr8.pCHvP3F29OYkE.5PxNSVp3oB/2OLDKb.SdFxTTxde"], ["updated_at", Fri, 14 Nov 2014 22:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.8ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/fpIImDxmYwh4MwRH03A1OAPsBleqe1C9J36d.8Q5kGK.Znto5J9y"], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.9ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$w3r6rQiL6TX7f0bJpYZ0zuH2bHllXL3eYENbh.oc04sXNxPVHyAHm"], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 71ms (Views: 65.9ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["value", "40095"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 5.1ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$YIjAjN0SfnYfiWdCQ/7jV.n76gdUBFo7m1EJor3Or5x0NSx5IxlXK"], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.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 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$CDpK5WG3k3V/KSpcMEQ06e5Texr/tTWNZfJFN0SLtDfynLozJ6x0K"], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 55ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qRnKLrxTHtIcSmWkETFowON0c2JCULelzTj6JfvlR0065aMnSpR0q"], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.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 2014-11-14 17:19:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 26ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 2.7ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:27 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["value", "41497"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 3.9ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"41497"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '41497' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "41497"], ["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$oRVbNXfR91Q3CDn6/ncNA.fm0DBDVGtuoLV9XEjkAUTfVaNJQKwSq"], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.3ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (12.7ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:27 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["value", "62182"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.5ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 29ms (Views: 4.8ms | ActiveRecord: 2.5ms) Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"62182"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '62182' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "62182"], ["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 15ms (ActiveRecord: 1.6ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (1.0ms) rollback transaction  (1.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$xrdhIckYB4FcsXwlGRDquOBJhLlqxVAnAFR6mhtp7D0Jt3rUD7Cou"], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 40ms (ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 6.5ms | ActiveRecord: 0.6ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (15.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:27 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["value", "68336"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 20ms (Views: 4.3ms | ActiveRecord: 2.1ms) Gringotts::Vault Load (0.7ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"68336"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '68336' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "68336"], ["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 16ms (ActiveRecord: 1.6ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 4.1ms | ActiveRecord: 0.9ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 33ms (ActiveRecord: 0.8ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$lRSFsA8UMnH0N0suKgbIrO041a1dBwk2r/Lys6RyR7ptOAlVpbxAe"], ["updated_at", Fri, 14 Nov 2014 22:19:27 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (6.3ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:28 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["value", "05489"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 3.7ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"05489"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '05489' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "05489"], ["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 11ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.4ms) Started POST "/authentication/disable" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#disable as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "gringotts_settings" WHERE "gringotts_settings"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/ Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.4ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$v6mo77E.2mpkW/2P2j/VJO5X/Qad3mSSQczUKF1adeRhGck7dAWFS"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$NQ59V/xKweKrk5If3yYZhuZlIHvcy.2tqrSfC7McrVlIezDRBY8Xm"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.8ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ny7yputvxk5iOFvlFmA7X..D8PElJ0SGCAPJ0rWBx6pEah63rzppG"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (2.9ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$LwroJM/sl64nQFhB3fRTUOXPW.NajMeA6u/iKdVYVSsK3.wfiKS.e"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"(406) 444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14064444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["phone_number", "14064444444"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:28 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["value", "04452"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.5ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["phone_number", "14064444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 20ms (Views: 3.8ms | ActiveRecord: 2.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qhMAahIAQJaok9aVCJHdeeLj3jJeGfF6PERCyRX.0xKHEe9GjZBiO"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (104.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 116ms (Views: 114.0ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 8.2ms | ActiveRecord: 1.2ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:28 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:28 UTC +00:00], ["value", "87746"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.6ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$82EdwlPhIx5kbpMlfS9xNusT.0JRpDnDX3X0GlPE4yFRTb3ZwR78."], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 0.8ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>""}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (2.2ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 5.1ms | ActiveRecord: 0.8ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$IMZ6YgU7ZyUmBS9IsL8EXONQVVykmzWuuduJ6tn3z3/QFa/2Wnch6"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (5.1ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 2.1ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"12345"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 3.3ms | ActiveRecord: 0.6ms) Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ZduG/g2OmIiYx3zCLv7YjOF9qYpU1F5k9EU9074XuZBLoVkbF.eyK"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.6ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 14ms (ActiveRecord: 1.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:29 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["value", "98162"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (1.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 21ms (Views: 4.1ms | ActiveRecord: 3.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:29 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["value", "20165"], ["vault_id", 1]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 18ms (Views: 3.7ms | ActiveRecord: 2.8ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2J27YJl9svAhR1MYPWLb6.Tf31E04igUmwnrhW7u8eCFLd2aER1te"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 1.2ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 0.5ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:29 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["value", "87600"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 20ms (Views: 5.1ms | ActiveRecord: 2.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"87600"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '87600' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "87600"], ["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.5ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 2.4ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (2.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 25ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:29 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["value", "00621"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (1.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 5.1ms | ActiveRecord: 1.9ms)  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$xYGAJyHVZrIs7AsNqPYvc.pA0qwrKJhBXmtADnGGS3D1BDDVeuzeS"], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.9ms) Rendered layouts/_navigation.html.erb (1.4ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.5ms | ActiveRecord: 1.2ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (1.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["value", "17675"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 19ms (Views: 4.6ms | ActiveRecord: 2.0ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"17675"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '17675' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "17675"], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 12ms (ActiveRecord: 1.6ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["value", "87377"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 4.6ms | ActiveRecord: 2.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$uCfJdJL3Ol0or8JKYSUJTe1L78AMLbVmWos2VitkbM302ChqhD/5G"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["value", "14362"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.8ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"14362"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '14362' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "14362"], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (11.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 11.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["value", "11220"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.4ms | ActiveRecord: 1.5ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$mAKJwMK2WuVvZ4555/.1L.H0OBOJ.5..LdKvUi.ccrWGnXFLT8eNW"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9zpJtJ.sQXmKp8yBxoQZHe0tpbbPKP5gAs35Uf/S9TBoXwzNpqFbe"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["value", "02451"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 4.9ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["value", "58191"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (1.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 8.9ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["value", "90835"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.2ms | ActiveRecord: 1.7ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["value", "77841"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.3ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["value", "38494"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 5], ["created_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 5 [["delivered_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.3ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 5.1ms | ActiveRecord: 1.7ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (1.8ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 15ms (ActiveRecord: 2.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "27203"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 6], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 6 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.9ms | ActiveRecord: 1.8ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "64946"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.5ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 7], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 7 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 1.9ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$3Os0Yd/K3MHkkvmJJeRgQe86aSJqeZ6GBebzaN/d7fCtd6dEsE/NO"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (5.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "43953"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"43953"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '43953' AND "gringotts_attempts"."successful" = 't'  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "43953"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 13ms (ActiveRecord: 1.5ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "12307"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.3ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 56ms (Views: 4.2ms | ActiveRecord: 2.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:31.491787') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 11ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "63702"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 3.8ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:31.530834') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "83301"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.1ms | ActiveRecord: 1.9ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:31.561530') [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 11ms (ActiveRecord: 1.4ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 4.6ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (1.5ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Ax4x3IVU6vq64iVx0jHK1.Yp0./XIIZn/k/7/8vjpZqjwzq9baLSy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (1.8ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.9ms | ActiveRecord: 1.4ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 14ms (ActiveRecord: 2.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "71490"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 3.9ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"71490"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '71490' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "71490"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.4ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:19:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "31855"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.1ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:31.882419') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 11ms (ActiveRecord: 1.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.8ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "60385"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 3.0ms | ActiveRecord: 2.7ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:31.919787') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["value", "74981"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 2.9ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:31.950567') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 22:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 11ms (ActiveRecord: 1.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:31 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$a6HWkT8lxmY3S.FBs7kQPuijhPciuEFBxFqXRPMVhnk.qerW2nGQa"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.5ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.4ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.8ms | ActiveRecord: 2.1ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.1ms | ActiveRecord: 0.5ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["value", "71879"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.4ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"71879"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '71879' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "71879"], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.5ms) Rendered layouts/_navigation.html.erb (1.2ms) Rendered layouts/_messages.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 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.3ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["value", "98920"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 5.2ms | ActiveRecord: 2.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:32.303081') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["value", "23188"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 2.9ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:32.335268') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 11ms (ActiveRecord: 1.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["value", "28369"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 113ms (Views: 4.0ms | ActiveRecord: 1.9ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:32.468459') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 12ms (ActiveRecord: 1.4ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WcLUM2y4ohMOapmcdejlc.hzDMcPeixZnRZ9FonAnTR1Kk2Oueh6e"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (2.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by HomeController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.8ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 15.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.5ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["value", "95457"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"95457"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '95457' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "95457"], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.4ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["value", "78705"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.5ms | ActiveRecord: 1.7ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:32.800183') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 1.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["value", "59044"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 1.7ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:32.835115') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["value", "96934"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 2.9ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:32.865371') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$NyYZUk3B8VJBNUEemY92Ke9tEVM3CoTXBsr2DIrdJvN7bMCJ/ZVmi"], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (5.0ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:32 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (5.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 77ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.4ms) Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 0.5ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["value", "23129"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.6ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"23129"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.7ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '23129' AND "gringotts_attempts"."successful" = 't'  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "23129"], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 17ms (ActiveRecord: 2.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.4ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["value", "84007"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 3.2ms | ActiveRecord: 2.0ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:33.237955') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["value", "42339"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 2.9ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:33.268247') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["value", "48528"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 3.1ms | ActiveRecord: 1.8ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:33.310877') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 14ms (ActiveRecord: 1.6ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.3ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8/9pp2U9eW0o2b.0lIKxgu.IVnWcAdMWUbFhwfiUi9k/2wjD/8ugK"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (1.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (1.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 2.3ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.5ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.5ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["value", "20685"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"20685"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '20685' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "20685"], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (1.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.4ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["sign_in_count", 2], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["value", "15199"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.4ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 3.5ms | ActiveRecord: 2.1ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:33.644115') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["value", "25100"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 3.9ms | ActiveRecord: 2.1ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:33.759357') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["value", "22938"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 3.6ms | ActiveRecord: 3.0ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:49:33.800073') [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 14ms (ActiveRecord: 2.0ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 0.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (1.7ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 11ms (ActiveRecord: 2.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.4ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0X0Co.yqWohLTRLUXAHBKOJmhjbujarv3Bh0HiJtfGIQe4WuP017m"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Filter chain halted as :require_gringotts rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (2.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.5ms | ActiveRecord: 0.6ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$r.q2uig7/7jtlW7vA5XmU.KEU74WjkdQZCODi6qZmNZsrU8z6ifwm"], ["updated_at", Fri, 14 Nov 2014 22:19:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (15.9ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$RAPzrDAaSp8RPbVKvEwNJuJiukLUSEhwz5u.3JOfQxP5X/ZCpQxFi"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:34 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["value", "23666"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.5ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$g5.Fy7Hg1P0YlWT12.QNN.S3ad6JPuP2Aj4rgWVdqajyQRVUsYNSG"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.7ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$74eN0NVX36WkvB0HKd2lBO1t94WdSRZWDoDaoBnVD.A3Tw51pfUe."], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 1.3ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:34 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["value", "17015"], ["vault_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.5ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (75.6ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (76.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 92ms (Views: 78.8ms | ActiveRecord: 2.1ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$7iRzAcA0rzdU/SqjDv2xW.KtpQ4Q5lcJskhnR1Kxf.vCYUHf2nCse"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.0ms) Rendered layouts/_navigation.html.erb (1.2ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.4ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$NyXhEqwt2PbE3kCFaLs7GOF8fAJMnGb3P3Q0D5yfi7r7/1iC/P01W"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (5.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:34 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["value", "54507"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 4.2ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"54507"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '54507' AND "gringotts_attempts"."successful" = 't'  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "54507"], ["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 2 [["confirmed_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 12ms (ActiveRecord: 1.6ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5JK0lufkwPxUwcq50MBkD.qUC1qsSyM/jwaN89tWZbsBCCZ.jEwpK"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 12ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:34 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["value", "42035"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 91ms (Views: 5.4ms | ActiveRecord: 2.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$es6GiLSR/GNHfowyCFzwFOKEmx1F1yRi1ZEqyB6y3fFwdSY1.vOza"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 17ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["value", "60740"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["value", "23684"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (18.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 22.4ms | ActiveRecord: 1.7ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$.YN3IFH.RskMXOOWy/Z85OLtQI2oI4F9dE/oFSBDBv1L2fkGyTDg2"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by HomeController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 1.4ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.5ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["value", "63226"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 26ms (Views: 4.2ms | ActiveRecord: 2.4ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$M5QdyrfDShDIgyxJ4CpSdOWrM902LqmWsssqG11n0AS1.2HAquX1a"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.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 2014-11-14 17:19:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (13.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 22ms (ActiveRecord: 14.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$zUvnNsJyGbyIuuQLvZ/YxeWcKZhXsUWLc5KgNgegVu4eJcMatu6uG"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (1.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (7.8ms) Rendered layouts/_navigation.html.erb (2.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 12.5ms | ActiveRecord: 0.4ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.5ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["value", "15829"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 4.0ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>""}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["value", "53814"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (1.9ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.3ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 23.0ms | ActiveRecord: 3.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$AnSsd5k//w77j2Vh84SmhOcwETVDjv5eV/DF5mY4Xak5VNxOYQ/Ae"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qKZXv6QNkrs0gY4Dv8DgBu76BWNSsd87Px6bfWoksBfYQmlVUcAlW"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.9ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["value", "58546"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.5ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.9ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"asdf"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "asdf"], ["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["value", "41536"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WhcIxmWmMgEz4Yxa.DBiPe2vc5Mx0rgyl6dmQWCQxVkLOUIE9Fx/e"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$biptG2sUW7WvcTmEIziSGOe4pWXc6sqQZPPbBdPrERBXSnDbqC6/W"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["value", "38680"], ["vault_id", 2]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 22ms (Views: 4.4ms | ActiveRecord: 3.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "gringotts_codes" SET "expires_at" = ?, "updated_at" = ? WHERE "gringotts_codes"."id" = 1 [["expires_at", Fri, 14 Nov 2014 21:49:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"38680"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "38680"], ["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["value", "26327"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 8.4ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$kipTaONlHu4.Zg2pKnrQfOwo7Ku4VQZBjspiLz6FaHuKF.c.UP6py"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (7.1ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["email", "example@example.com"], ["encrypted_password", "$2a$04$197HzzhKGPUCF1Q.cHh.K.SViVmMxBFOnogQ6spJoaSas3KSbwdVW"], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["current_sign_in_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", Fri, 14 Nov 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 5.5ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:19:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:19:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:37 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["value", "06088"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.9ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "06088"], ["created_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:19:37 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"06088"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '06088' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "06088"], ["created_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:19:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:24:37 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["value", "87219"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:19:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 5.8ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.2ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.074817"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$SplWr18sL0GgAYrRmXVhL.1KkTnfitf8VubYiMgwH9ArPBZxMpQY2"], ["updated_at", "2014-11-14 22:20:17.074817"]]  (1.3ms) commit transaction  (1.0ms) DELETE FROM "gringotts_attempts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_attempts';  (0.9ms) DELETE FROM "gringotts_codes";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_codes';  (0.9ms) DELETE FROM "gringotts_deliveries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_deliveries';  (1.1ms) DELETE FROM "gringotts_settings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_settings';  (1.0ms) DELETE FROM "gringotts_vaults";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_vaults';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.5ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (1.6ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.623143"], ["expires_at", "2014-12-14 22:20:17.622182"], ["updated_at", "2014-11-14 22:20:17.623143"], ["value", "67863"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "67863"], ["created_at", "2014-11-14 22:20:17.624967"], ["updated_at", "2014-11-14 22:20:17.624967"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.626713"], ["expires_at", "2014-12-14 22:20:17.626269"], ["updated_at", "2014-11-14 22:20:17.626713"], ["value", "48556"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.631987"], ["expires_at", "2014-11-14 21:50:17.631231"], ["updated_at", "2014-11-14 22:20:17.631987"], ["value", "61450"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "61450"], ["created_at", "2014-11-14 22:20:17.633566"], ["updated_at", "2014-11-14 22:20:17.633566"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.643390"], ["expires_at", "2014-12-14 22:20:17.642788"], ["updated_at", "2014-11-14 22:20:17.643390"], ["value", "83746"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "83746"], ["created_at", "2014-11-14 22:20:17.644749"], ["updated_at", "2014-11-14 22:20:17.644749"], ["vault_id", 1]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.646870"], ["expires_at", "2014-12-14 22:20:17.646368"], ["updated_at", "2014-11-14 22:20:17.646870"], ["value", "13537"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.650916"], ["expires_at", "2014-11-14 21:50:17.650483"], ["updated_at", "2014-11-14 22:20:17.650916"], ["value", "87768"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "87768"], ["created_at", "2014-11-14 22:20:17.652124"], ["updated_at", "2014-11-14 22:20:17.652124"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.661617"], ["expires_at", "2014-12-14 22:20:17.661035"], ["updated_at", "2014-11-14 22:20:17.661617"], ["value", "34892"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "34892"], ["created_at", "2014-11-14 22:20:17.662932"], ["updated_at", "2014-11-14 22:20:17.662932"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.664397"], ["expires_at", "2014-12-14 22:20:17.663971"], ["updated_at", "2014-11-14 22:20:17.664397"], ["value", "20815"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.667918"], ["expires_at", "2014-11-14 21:50:17.667499"], ["updated_at", "2014-11-14 22:20:17.667918"], ["value", "21733"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "21733"], ["created_at", "2014-11-14 22:20:17.669360"], ["updated_at", "2014-11-14 22:20:17.669360"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.765551"], ["expires_at", "2014-12-14 22:20:17.764962"], ["updated_at", "2014-11-14 22:20:17.765551"], ["value", "91371"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "91371"], ["created_at", "2014-11-14 22:20:17.766911"], ["updated_at", "2014-11-14 22:20:17.766911"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.769346"], ["expires_at", "2014-12-14 22:20:17.768851"], ["updated_at", "2014-11-14 22:20:17.769346"], ["value", "39271"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.773282"], ["expires_at", "2014-11-14 21:50:17.772836"], ["updated_at", "2014-11-14 22:20:17.773282"], ["value", "97877"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "97877"], ["created_at", "2014-11-14 22:20:17.774538"], ["updated_at", "2014-11-14 22:20:17.774538"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.785971"], ["expires_at", "2014-12-14 22:20:17.785387"], ["updated_at", "2014-11-14 22:20:17.785971"], ["value", "38808"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "38808"], ["created_at", "2014-11-14 22:20:17.787415"], ["updated_at", "2014-11-14 22:20:17.787415"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.789116"], ["expires_at", "2014-12-14 22:20:17.788604"], ["updated_at", "2014-11-14 22:20:17.789116"], ["value", "00945"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.795013"], ["expires_at", "2014-11-14 21:50:17.792811"], ["updated_at", "2014-11-14 22:20:17.795013"], ["value", "08888"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "08888"], ["created_at", "2014-11-14 22:20:17.799471"], ["updated_at", "2014-11-14 22:20:17.799471"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.812608"], ["expires_at", "2014-12-14 22:20:17.812000"], ["updated_at", "2014-11-14 22:20:17.812608"], ["value", "29021"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "29021"], ["created_at", "2014-11-14 22:20:17.814031"], ["updated_at", "2014-11-14 22:20:17.814031"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.815526"], ["expires_at", "2014-12-14 22:20:17.815089"], ["updated_at", "2014-11-14 22:20:17.815526"], ["value", "69907"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.823668"], ["expires_at", "2014-12-14 22:20:17.823066"], ["updated_at", "2014-11-14 22:20:17.823668"], ["value", "41266"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "41266"], ["created_at", "2014-11-14 22:20:17.825109"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:17.825109"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "41266"], ["created_at", "2014-11-14 22:20:17.826333"], ["updated_at", "2014-11-14 22:20:17.826333"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '41266' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.838359"], ["expires_at", "2014-12-14 22:20:17.837589"], ["updated_at", "2014-11-14 22:20:17.838359"], ["value", "21014"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "21014"], ["created_at", "2014-11-14 22:20:17.839939"], ["updated_at", "2014-11-14 22:20:17.839939"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.841452"], ["expires_at", "2014-12-14 22:20:17.841016"], ["updated_at", "2014-11-14 22:20:17.841452"], ["value", "46729"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.847465"], ["expires_at", "2014-12-14 22:20:17.846922"], ["updated_at", "2014-11-14 22:20:17.847465"], ["value", "00894"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "00894"], ["created_at", "2014-11-14 22:20:17.848966"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:17.848966"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "00894"], ["created_at", "2014-11-14 22:20:17.850118"], ["updated_at", "2014-11-14 22:20:17.850118"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '21014' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.862272"], ["expires_at", "2014-12-14 22:20:17.861683"], ["updated_at", "2014-11-14 22:20:17.862272"], ["value", "45615"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "45615"], ["created_at", "2014-11-14 22:20:17.863618"], ["updated_at", "2014-11-14 22:20:17.863618"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.865063"], ["expires_at", "2014-12-14 22:20:17.864639"], ["updated_at", "2014-11-14 22:20:17.865063"], ["value", "05347"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.870669"], ["expires_at", "2014-12-14 22:20:17.869848"], ["updated_at", "2014-11-14 22:20:17.870669"], ["value", "14875"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "14875"], ["created_at", "2014-11-14 22:20:17.872235"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:17.872235"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "14875"], ["created_at", "2014-11-14 22:20:17.873427"], ["updated_at", "2014-11-14 22:20:17.873427"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.886641"], ["expires_at", "2014-12-14 22:20:17.886056"], ["updated_at", "2014-11-14 22:20:17.886641"], ["value", "37101"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "37101"], ["created_at", "2014-11-14 22:20:17.888026"], ["updated_at", "2014-11-14 22:20:17.888026"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.890776"], ["expires_at", "2014-12-14 22:20:17.890212"], ["updated_at", "2014-11-14 22:20:17.890776"], ["value", "35480"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.897225"], ["expires_at", "2014-12-14 22:20:17.896684"], ["updated_at", "2014-11-14 22:20:17.897225"], ["value", "14560"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "14560"], ["created_at", "2014-11-14 22:20:17.898761"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:17.898761"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "14560"], ["created_at", "2014-11-14 22:20:17.899904"], ["updated_at", "2014-11-14 22:20:17.899904"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '14560' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (1.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.918058"], ["expires_at", "2014-12-14 22:20:17.917309"], ["updated_at", "2014-11-14 22:20:17.918058"], ["value", "23271"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "23271"], ["created_at", "2014-11-14 22:20:17.919575"], ["updated_at", "2014-11-14 22:20:17.919575"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.921075"], ["expires_at", "2014-12-14 22:20:17.920649"], ["updated_at", "2014-11-14 22:20:17.921075"], ["value", "05174"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.927060"], ["expires_at", "2014-12-14 22:20:17.926573"], ["updated_at", "2014-11-14 22:20:17.927060"], ["value", "48607"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "48607"], ["created_at", "2014-11-14 22:20:17.928355"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:17.928355"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "48607"], ["created_at", "2014-11-14 22:20:17.929460"], ["updated_at", "2014-11-14 22:20:17.929460"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '48607' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.941694"], ["expires_at", "2014-12-14 22:20:17.941096"], ["updated_at", "2014-11-14 22:20:17.941694"], ["value", "56004"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "56004"], ["created_at", "2014-11-14 22:20:17.943054"], ["updated_at", "2014-11-14 22:20:17.943054"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.945523"], ["expires_at", "2014-12-14 22:20:17.945066"], ["updated_at", "2014-11-14 22:20:17.945523"], ["value", "63827"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.949573"], ["expires_at", "2014-12-14 22:20:17.949067"], ["updated_at", "2014-11-14 22:20:17.949573"], ["value", "38604"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "38604"], ["created_at", "2014-11-14 22:20:17.950811"], ["updated_at", "2014-11-14 22:20:17.950811"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.961550"], ["expires_at", "2014-12-14 22:20:17.960732"], ["updated_at", "2014-11-14 22:20:17.961550"], ["value", "94232"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "94232"], ["created_at", "2014-11-14 22:20:17.962996"], ["updated_at", "2014-11-14 22:20:17.962996"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.964483"], ["expires_at", "2014-12-14 22:20:17.964051"], ["updated_at", "2014-11-14 22:20:17.964483"], ["value", "87847"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.968142"], ["expires_at", "2014-12-14 22:20:17.967668"], ["updated_at", "2014-11-14 22:20:17.968142"], ["value", "22738"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "22738"], ["created_at", "2014-11-14 22:20:17.969968"], ["updated_at", "2014-11-14 22:20:17.969968"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.973622"], ["expires_at", "2014-12-14 22:20:17.972929"], ["updated_at", "2014-11-14 22:20:17.973622"], ["value", "77048"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.982881"], ["expires_at", "2014-12-14 22:20:17.982302"], ["updated_at", "2014-11-14 22:20:17.982881"], ["value", "94700"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "94700"], ["created_at", "2014-11-14 22:20:17.984213"], ["updated_at", "2014-11-14 22:20:17.984213"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.985620"], ["expires_at", "2014-12-14 22:20:17.985204"], ["updated_at", "2014-11-14 22:20:17.985620"], ["value", "34381"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:17.989461"], ["expires_at", "2014-12-14 22:20:17.988937"], ["updated_at", "2014-11-14 22:20:17.989461"], ["value", "24936"], ["vault_id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "24936"], ["created_at", "2014-11-14 22:20:17.991132"], ["updated_at", "2014-11-14 22:20:17.991132"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.002915"], ["expires_at", "2014-12-14 22:20:18.001400"], ["updated_at", "2014-11-14 22:20:18.002915"], ["value", "00872"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "00872"], ["created_at", "2014-11-14 22:20:18.004346"], ["updated_at", "2014-11-14 22:20:18.004346"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.005843"], ["expires_at", "2014-12-14 22:20:18.005394"], ["updated_at", "2014-11-14 22:20:18.005843"], ["value", "74582"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.009467"], ["expires_at", "2014-12-14 22:20:18.009012"], ["updated_at", "2014-11-14 22:20:18.009467"], ["value", "99413"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "99413"], ["created_at", "2014-11-14 22:20:18.010743"], ["updated_at", "2014-11-14 22:20:18.010743"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '99413' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.022374"], ["expires_at", "2014-12-14 22:20:18.021809"], ["updated_at", "2014-11-14 22:20:18.022374"], ["value", "93245"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "93245"], ["created_at", "2014-11-14 22:20:18.023669"], ["updated_at", "2014-11-14 22:20:18.023669"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.025496"], ["expires_at", "2014-12-14 22:20:18.024672"], ["updated_at", "2014-11-14 22:20:18.025496"], ["value", "87049"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.029521"], ["expires_at", "2014-12-14 22:20:18.028983"], ["updated_at", "2014-11-14 22:20:18.029521"], ["value", "57380"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "57380"], ["created_at", "2014-11-14 22:20:18.031061"], ["updated_at", "2014-11-14 22:20:18.031061"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '57380' AND "gringotts_attempts"."successful" = 't'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.102913"], ["expires_at", "2014-12-14 22:20:18.102309"], ["updated_at", "2014-11-14 22:20:18.102913"], ["value", "12856"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "12856"], ["created_at", "2014-11-14 22:20:18.104354"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:18.104354"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:18.117375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.135828"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.135828"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.152075"], ["expires_at", "2014-11-14 22:25:18.151749"], ["updated_at", "2014-11-14 22:20:18.152075"], ["value", "86315"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.177328"], ["expires_at", "2014-12-14 22:20:18.176632"], ["updated_at", "2014-11-14 22:20:18.177328"], ["value", "37994"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.181927"], ["expires_at", "2014-12-14 22:20:18.181339"], ["updated_at", "2014-11-14 22:20:18.181927"], ["value", "48821"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.186312"], ["expires_at", "2014-12-14 22:20:18.185680"], ["updated_at", "2014-11-14 22:20:18.186312"], ["value", "99476"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.192661"], ["expires_at", "2014-12-14 22:20:18.191936"], ["updated_at", "2014-11-14 22:20:18.192661"], ["value", "11675"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.197180"], ["expires_at", "2014-12-14 22:20:18.196594"], ["updated_at", "2014-11-14 22:20:18.197180"], ["value", "55077"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.203216"], ["expires_at", "2014-12-14 22:20:18.202562"], ["updated_at", "2014-11-14 22:20:18.203216"], ["value", "72030"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.207509"], ["expires_at", "2014-12-14 22:20:18.206904"], ["updated_at", "2014-11-14 22:20:18.207509"], ["value", "60580"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.212784"], ["expires_at", "2014-12-14 22:20:18.212181"], ["updated_at", "2014-11-14 22:20:18.212784"], ["value", "09840"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.217667"], ["expires_at", "2014-12-14 22:20:18.216979"], ["updated_at", "2014-11-14 22:20:18.217667"], ["value", "98786"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.222080"], ["expires_at", "2014-12-14 22:20:18.221445"], ["updated_at", "2014-11-14 22:20:18.222080"], ["value", "79717"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.227868"], ["expires_at", "2014-12-14 22:20:18.227245"], ["updated_at", "2014-11-14 22:20:18.227868"], ["value", "16745"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.253447"], ["expires_at", "2014-11-14 21:50:18.252933"], ["updated_at", "2014-11-14 22:20:18.253447"], ["value", "62646"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (80.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'the_user@foo.bar.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'first.last@foo.jp' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo,com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_at_foo.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example.user@foo.' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.369946"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$O690/rt483S.eekIZ/Fn9Orcl9HBvcIp7v6tzenKdnMX9pUBdkZCa"], ["updated_at", "2014-11-14 22:20:18.369946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.379816"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$ZQx5TzLQDaQ657upL3ctROOfj/5./cPWcLqG8nrJ8HZSkMmCMyFfG"], ["updated_at", "2014-11-14 22:20:18.379816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.387129"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$lSAw/4YsZ4wNotRgNSNVlOikJqQxFWY46uMHahoVCP5Jaih3xPArC"], ["updated_at", "2014-11-14 22:20:18.387129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.425003"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$hRjTlScCO7I14Nwm2uiE/.vzaHrfSiWbLkFRIcdEaPPozy/B55UIi"], ["updated_at", "2014-11-14 22:20:18.425003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.431399"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$fFhkLllDMeXC.uvlmjmxLu8.76KyPVvfOKC0czKVmsLF7suLMMkpW"], ["updated_at", "2014-11-14 22:20:18.431399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.443628"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.443628"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.446955"], ["expires_at", "2014-11-14 22:25:18.446652"], ["updated_at", "2014-11-14 22:20:18.446955"], ["value", "59968"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.451581"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:20:18.451581"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.462162"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.462162"], ["vault_id", 1]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.467159"], ["expires_at", "2014-11-14 22:25:18.466840"], ["updated_at", "2014-11-14 22:20:18.467159"], ["value", "23845"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.469699"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:20:18.469699"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:18.470739"], ["updated_at", "2014-11-14 22:20:18.471719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.482954"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.482954"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.486229"], ["expires_at", "2014-11-14 22:25:18.485958"], ["updated_at", "2014-11-14 22:20:18.486229"], ["value", "93811"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.488653"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:20:18.488653"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:18.491125"], ["updated_at", "2014-11-14 22:20:18.492260"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.503719"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.503719"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.507166"], ["expires_at", "2014-11-14 22:25:18.506887"], ["updated_at", "2014-11-14 22:20:18.507166"], ["value", "64906"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.509546"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:20:18.509546"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:18.510529"], ["updated_at", "2014-11-14 22:20:18.511447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.521526"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.521526"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.524727"], ["expires_at", "2014-11-14 22:25:18.524461"], ["updated_at", "2014-11-14 22:20:18.524727"], ["value", "28894"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.5ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.527232"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:20:18.527232"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.540168"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.540168"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.543609"], ["expires_at", "2014-11-14 22:25:18.543322"], ["updated_at", "2014-11-14 22:20:18.543609"], ["value", "20014"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.545952"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:20:18.545952"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.556689"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.556689"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.559925"], ["expires_at", "2014-11-14 22:25:18.559655"], ["updated_at", "2014-11-14 22:20:18.559925"], ["value", "84765"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.562259"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:20:18.562259"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.7ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.583962"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.583962"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.587504"], ["expires_at", "2014-11-14 22:25:18.587221"], ["updated_at", "2014-11-14 22:20:18.587504"], ["value", "57346"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.607931"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.607931"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.611495"], ["expires_at", "2014-11-14 22:25:18.611202"], ["updated_at", "2014-11-14 22:20:18.611495"], ["value", "56911"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.615385"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:20:18.615385"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:20:18.618496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.629115"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.629115"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.632585"], ["expires_at", "2014-11-14 22:25:18.632302"], ["updated_at", "2014-11-14 22:20:18.632585"], ["value", "30051"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.635022"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:20:18.635022"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:20:18.636901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.7ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.650028"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.650028"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.653579"], ["expires_at", "2014-11-14 22:25:18.653274"], ["updated_at", "2014-11-14 22:20:18.653579"], ["value", "46411"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:18.659787"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:20:18.659787"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:20:18.662154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.9ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.7ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.686887"], ["expires_at", "2014-12-14 22:20:18.686054"], ["updated_at", "2014-11-14 22:20:18.686887"], ["value", "83524"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.701560"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.701560"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.704893"], ["expires_at", "2014-11-14 22:25:18.704599"], ["updated_at", "2014-11-14 22:20:18.704893"], ["value", "81279"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.732415"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.732415"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.736258"], ["expires_at", "2014-11-14 22:25:18.735963"], ["updated_at", "2014-11-14 22:20:18.736258"], ["value", "99774"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:18.787241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.790490"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.790490"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.5ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '15555555555' AND "gringotts_settings"."id" != 1) LIMIT 1 SQL (0.3ms) UPDATE "gringotts_settings" SET "phone_number" = ?, "updated_at" = ? WHERE "gringotts_settings"."id" = 1 [["phone_number", "15555555555"], ["updated_at", "2014-11-14 22:20:18.796912"]] Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.807554"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5OrXaOdaBR304Hb0ZOX5YOCiTu4/6m92RCqIOV1gwQNHxACV2Z04S"], ["updated_at", "2014-11-14 22:20:18.807554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.817084"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.817084"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.819584"], ["expires_at", "2014-11-14 22:25:18.819296"], ["updated_at", "2014-11-14 22:20:18.819584"], ["value", "78412"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.827153"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$EMpVKm2o82M8alath4DwbuP7g16Xd1edFpokgnO.dWTNCxrWHk4y2"], ["updated_at", "2014-11-14 22:20:18.827153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.836160"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.836160"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.843284"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$KeL6nWaEZNiD4kAdW7ctVOs/6bd1rb6tipjxprYg2qPN9hJOFfwY2"], ["updated_at", "2014-11-14 22:20:18.843284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.851688"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.851688"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.853675"], ["expires_at", "2014-11-14 22:25:18.853398"], ["updated_at", "2014-11-14 22:20:18.853675"], ["value", "06274"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.862325"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$3fZBqNLLLnXbVxMtiIquBusw4Cj0NYTrqKBKRMP0KcNytT/5dwi5G"], ["updated_at", "2014-11-14 22:20:18.862325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.870893"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.870893"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:18.871965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.882414"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$LFR4wyj4HpoSZzulrIznFO4KOP.Tf6xoJ2advsQ4lh.BmpqDyOd72"], ["updated_at", "2014-11-14 22:20:18.882414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.891705"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.891705"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:18.892659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.900984"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$QAsOvaghfTD9An9XNLps7OoRtrhSrZfeUm./7x..BNVwZEfcArBy2"], ["updated_at", "2014-11-14 22:20:18.900984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.914146"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.914146"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.923726"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$bff1dygdvT0g9rKta2SJFOrQfimTCiPOxZXyXATl5i5V5MqFzLq1W"], ["updated_at", "2014-11-14 22:20:18.923726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.933029"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.933029"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.942250"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WM3D/b59bH1Ay/ebYxxidelDz6E5NFqKb.fDfDff/tU2JLOh5tZ5e"], ["updated_at", "2014-11-14 22:20:18.942250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.950648"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.950648"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:18.951549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:18.956173"], ["updated_at", "2014-11-14 22:20:18.956173"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:18.959387"], ["updated_at", "2014-11-14 22:20:18.959387"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:18.962194"], ["updated_at", "2014-11-14 22:20:18.962194"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:18.965459') [["vault_id", 1]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.973063"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8f8G.n/tvvPM7qPUtZto/OTTQrcx64tuFgH6Sk1ZwTnliuOuaebaa"], ["updated_at", "2014-11-14 22:20:18.973063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.981807"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.981807"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.988704"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$RmEeKzy.h0VfnV.7q9llYuvhDFN5Oy9pgkOwuYqfBCPLVRGXeS8kO"], ["updated_at", "2014-11-14 22:20:18.988704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:18.997513"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:18.997513"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.004534"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$AH9i.WKsa/zdGW1Drp/sROHRppDGHbusJNqSBM.Lv.m8G1lA9jm/e"], ["updated_at", "2014-11-14 22:20:19.004534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.013494"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.013494"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:50:19.015063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.022396"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$q46NPxBZZzrsuQI0T6N7pOi9pTf.DJy6Jq2ni69cTE7fO26Z/sAeC"], ["updated_at", "2014-11-14 22:20:19.022396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.032129"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.032129"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '18005551212' AND "gringotts_settings"."id" != 1) LIMIT 1 SQL (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = ?, "updated_at" = ? WHERE "gringotts_settings"."id" = 1 [["phone_number", "18005551212"], ["updated_at", "2014-11-14 22:20:19.034235"]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.042670"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$rY.fkxrYDL8HrjbnyMiDwe3S46bZvbJ0.9BMll/GZQn3Pz7JKLeje"], ["updated_at", "2014-11-14 22:20:19.042670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.130425"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.130425"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.138005"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$BKJKfHN5sLxh8hztfLNyVuyZRb.iPV4qxyBWR/zv3JqW9mq8zcsdy"], ["updated_at", "2014-11-14 22:20:19.138005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.146295"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.146295"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:20:19.147803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.157331"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$j5.TWaQVfBnvutrv0GV7z.zxMbJut/6e9CQ60vWYDawqXveIka5NG"], ["updated_at", "2014-11-14 22:20:19.157331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.166706"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.166706"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.174415"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$K.qnzWnXU8BX42nKM/mg2uo4ZogzEF4bj5OvnCQBTTV8U4WPx7k/W"], ["updated_at", "2014-11-14 22:20:19.174415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.182757"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.182757"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:19.183841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.191613"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$KOTmgjUbhro6Yckk2cCf0OURazWOPOzLA6gr3PaO0Uruj9ruoyRTG"], ["updated_at", "2014-11-14 22:20:19.191613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.212392"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.212392"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:19.213383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:19.217518"], ["updated_at", "2014-11-14 22:20:19.217518"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:19.220698"], ["updated_at", "2014-11-14 22:20:19.220698"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:19.222035') [["vault_id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.228687"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9851qdOrqfYcjhAEr/Ex4eYth2UfKkOAg8UYahlCt1JL6lqL0w/eO"], ["updated_at", "2014-11-14 22:20:19.228687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.237619"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.237619"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.243851"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$7EN6tQMLPpsOfXehJpe/wOLINsEZhhlo92kALIXWDFQFZ5DsRzPPy"], ["updated_at", "2014-11-14 22:20:19.243851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.253007"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.253007"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:19.256318"], ["updated_at", "2014-11-14 22:20:19.256318"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:19.259397"], ["updated_at", "2014-11-14 22:20:19.259397"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.266346"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ukD3KegkA6ZFvLhXOoWIhusc0/iZx9G6gfijRtyi.ocA0WWtWUnyq"], ["updated_at", "2014-11-14 22:20:19.266346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.275001"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.275001"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.281968"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$S6e06SyGtVbe6XUL3G7lp.reXvUBmFxHm3WSfydjF4TgnwJ2GDWe6"], ["updated_at", "2014-11-14 22:20:19.281968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.290150"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.290150"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.292403"], ["expires_at", "2014-11-14 22:25:19.292095"], ["updated_at", "2014-11-14 22:20:19.292403"], ["value", "83915"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.303960"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qMza.Gysrl5Y4WHilSOLJOIFvSbB2fkjlNDYNpyezTHtR/MFqC0QK"], ["updated_at", "2014-11-14 22:20:19.303960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.313689"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.313689"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.323122"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$RAZ0vN/M7a4HVDI/p5qoKetx1y2y3nQZP3KiWH29gQbFNyA5TBf4."], ["updated_at", "2014-11-14 22:20:19.323122"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.332167"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.332167"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:20:19.333146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.340675"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$SdzRhKgXzJXkt/1SFqFx6OYYM2EPST/DvyW554oGpMfQU3locg2tW"], ["updated_at", "2014-11-14 22:20:19.340675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.349676"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:19.349676"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:20:19.351386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.4ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:19.372917"], ["expires_at", "2014-12-14 22:20:19.371911"], ["updated_at", "2014-11-14 22:20:19.372917"], ["value", "59557"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (13.8ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:24.200160"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FShf5tVMouazrNTedavZoejwmeTHGsVUuIur6IodS/iHsGX2BnZPS"], ["updated_at", "2014-11-14 22:20:24.200160"]]  (16.2ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.7ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (1.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (61.2ms) Rendered layouts/_navigation.html.erb (1.9ms) Rendered layouts/_messages.html.erb (0.6ms) Completed 200 OK in 141ms (Views: 100.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 6ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 12ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:25.634945"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$YKHhmjdY0ilbcqwu.IcMiunldE99EKzLjMg69YYsmYOrH6sWndg5S"], ["updated_at", "2014-11-14 22:20:25.634945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (7.5ms) Rendered layouts/_navigation.html.erb (1.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:25.681148"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:25.681148"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:25.682643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 27ms (ActiveRecord: 1.4ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:25.810910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 89ms (Views: 7.2ms | ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:25.883862"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$3nvadmvS3dHRgZNSuXNxIOhj4dTCX7LCrlb7LM/foRWxDbyymGyPe"], ["updated_at", "2014-11-14 22:20:25.883862"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:25 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'wrong@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 6ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:26.318480"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$MMZLdz8JhQR1Lwt/d/sT6uD2.k.0yT90HWqEEJChITEJPVjIngDpe"], ["updated_at", "2014-11-14 22:20:26.318480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (1.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (11.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 6ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:26.654512"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$XisYSdBhjDgrkWSNoQnhYuAGU.WAAE07gGxOQ1fEiIU03zt85kkhG"], ["updated_at", "2014-11-14 22:20:26.654512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:26.673561"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:26.673561"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:26.673996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:26.693792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (5.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (4.5ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 13ms (Views: 10.7ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:26.941286"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5Z6PKtJ4Mv5eHqj1xBixVuuQqin7osOGLjFnAtmWuf7aAeOakGPVS"], ["updated_at", "2014-11-14 22:20:26.941286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:26.943362"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:26.943362"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:26.943798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:26.958956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (1.0ms) Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.6ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' ORDER BY "users"."id" ASC LIMIT 1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:20:26 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"notanemail", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (68.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 81ms (Views: 70.2ms | ActiveRecord: 0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (4.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 6.4ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (4.6ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 6.9ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 5.4ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:27.478553"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$lMa3UrWPW1QoLkZHI0pKI.DglPj.dQgIq0VvCua6dE6CoySUh7qjq"], ["updated_at", "2014-11-14 22:20:27.478553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:27.504028"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:27.504028"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:27.504642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:27.519300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.3ms) Started PUT "/users" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#edit as HTML Completed 401 Unauthorized in 0ms Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.4ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:27.734861"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PrTp7vnE3EZJE/jfZrAvdei3H5slbcSPfsC02g/GFZBMbeu/.xxpS"], ["updated_at", "2014-11-14 22:20:27.734861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:27.754418"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:27.754418"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:27.755103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:27.775148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:27.823352"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:27.823352"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:27 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:27.934181"], ["expires_at", "2014-11-14 22:25:27.933730"], ["updated_at", "2014-11-14 22:20:27.934181"], ["value", "44847"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.6ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:28.067314"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:28.067314"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:28.069061"], ["updated_at", "2014-11-14 22:20:28.070493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 176ms (Views: 8.4ms | ActiveRecord: 3.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"44847"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '44847' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "44847"], ["created_at", "2014-11-14 22:20:28.098376"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:28.098376"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:28.099863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 14ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:28.151569"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:28.152084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.172676"], ["expires_at", "2014-11-14 22:25:28.172337"], ["updated_at", "2014-11-14 22:20:28.172676"], ["value", "33949"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:28.176210"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:28.176210"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:28.177161"], ["updated_at", "2014-11-14 22:20:28.178087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.7ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 7.0ms | ActiveRecord: 1.4ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.199120"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ouzedUnC6hUThTxvypVjX.aYx0hA536rerVLHPMS4CjOoJUutAaDS"], ["updated_at", "2014-11-14 22:20:28.199120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:28.217994"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:28.217994"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:28.218427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:28.312343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.350996"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:28.350996"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.358150"], ["expires_at", "2014-11-14 22:25:28.357842"], ["updated_at", "2014-11-14 22:20:28.358150"], ["value", "31655"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:28.361375"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:28.361375"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:28.362505"], ["updated_at", "2014-11-14 22:20:28.363472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"31655"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '31655' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "31655"], ["created_at", "2014-11-14 22:20:28.381562"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:28.381562"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:28.382696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:28.420744"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:28.421207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.436515"], ["expires_at", "2014-11-14 22:25:28.436064"], ["updated_at", "2014-11-14 22:20:28.436515"], ["value", "70341"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:28.441006"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:28.441006"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:28.442071"], ["updated_at", "2014-11-14 22:20:28.443079"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 3.2ms | ActiveRecord: 1.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.463156"], ["expires_at", "2014-11-14 22:25:28.462844"], ["updated_at", "2014-11-14 22:20:28.463156"], ["value", "73794"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:28.466502"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:28.466502"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:28.467411"], ["updated_at", "2014-11-14 22:20:28.468296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.484308"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$khKeQR/SDj7m5G8FbBsV6.GdhIlZlkSoMEtn5QtNPjg5kjFC.nYYe"], ["updated_at", "2014-11-14 22:20:28.484308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:28.508859"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:28.508859"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:28.509303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:28.523701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.640967"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:28.640967"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.648527"], ["expires_at", "2014-11-14 22:25:28.648198"], ["updated_at", "2014-11-14 22:20:28.648527"], ["value", "66963"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:28.651864"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:28.651864"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:28.653181"], ["updated_at", "2014-11-14 22:20:28.654169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"66963"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '66963' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "66963"], ["created_at", "2014-11-14 22:20:28.672991"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:28.672991"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:28.674126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (1.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:28.720861"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:28.721555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.739113"], ["expires_at", "2014-11-14 22:25:28.738812"], ["updated_at", "2014-11-14 22:20:28.739113"], ["value", "53463"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:28.742361"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:28.742361"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:28.743295"], ["updated_at", "2014-11-14 22:20:28.744206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.1ms | ActiveRecord: 1.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.763501"], ["expires_at", "2014-11-14 22:25:28.763177"], ["updated_at", "2014-11-14 22:20:28.763501"], ["value", "53025"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:28.766903"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:28.766903"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:28.767830"], ["updated_at", "2014-11-14 22:20:28.768736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.784604"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PYm6BvA9ybjNrrD.Sfomu.LOw3hWJCqcUufAzqOBnyTinU.vDRxVC"], ["updated_at", "2014-11-14 22:20:28.784604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:28.809575"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:28.809575"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:28.810014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:28.824900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.943814"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:28.943814"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:28.953550"], ["expires_at", "2014-11-14 22:25:28.953210"], ["updated_at", "2014-11-14 22:20:28.953550"], ["value", "24789"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:28.957995"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:28.957995"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:28.959025"], ["updated_at", "2014-11-14 22:20:28.959971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 3.8ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"24789"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '24789' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "24789"], ["created_at", "2014-11-14 22:20:28.978935"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:28.978935"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:28.980072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:28 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:29.021425"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:29.021908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.038301"], ["expires_at", "2014-11-14 22:25:29.037967"], ["updated_at", "2014-11-14 22:20:29.038301"], ["value", "42721"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:29.042040"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:29.042040"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:29.043277"], ["updated_at", "2014-11-14 22:20:29.044449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 3.2ms | ActiveRecord: 1.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.064038"], ["expires_at", "2014-11-14 22:25:29.063722"], ["updated_at", "2014-11-14 22:20:29.064038"], ["value", "37974"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:29.067409"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:29.067409"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:29.068329"], ["updated_at", "2014-11-14 22:20:29.069234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.084876"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$kBW7J8KV1ovsqW5nppNRvOpfL2scdvUTeexHS7m0JLz3FEMkTTZna"], ["updated_at", "2014-11-14 22:20:29.084876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (6.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:29.109717"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:29.109717"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:29.110150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:29.125236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 6.0ms | ActiveRecord: 0.6ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.167130"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:29.167130"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.174073"], ["expires_at", "2014-11-14 22:25:29.173759"], ["updated_at", "2014-11-14 22:20:29.174073"], ["value", "41865"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:29.177376"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:29.177376"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:29.178611"], ["updated_at", "2014-11-14 22:20:29.179673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"41865"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '41865' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "41865"], ["created_at", "2014-11-14 22:20:29.283912"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:29.283912"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:29.285121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 11ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.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 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:29.324319"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:29.324796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.339953"], ["expires_at", "2014-11-14 22:25:29.339494"], ["updated_at", "2014-11-14 22:20:29.339953"], ["value", "61727"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:29.344883"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:29.344883"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:29.345964"], ["updated_at", "2014-11-14 22:20:29.346976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 3.8ms | ActiveRecord: 1.8ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.398023"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$lrWLjLnX2tIdRIjiMKngiOCi2fVKxJORteiH7m4RJIwO5r2xFLmLe"], ["updated_at", "2014-11-14 22:20:29.398023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:29.491023"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:29.491023"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:29.491573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:29.506028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.544359"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:29.544359"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.551205"], ["expires_at", "2014-11-14 22:25:29.550904"], ["updated_at", "2014-11-14 22:20:29.551205"], ["value", "09422"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:29.554389"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:29.554389"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:29.555556"], ["updated_at", "2014-11-14 22:20:29.556571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"09422"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '09422' AND "gringotts_attempts"."successful" = 't'  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "09422"], ["created_at", "2014-11-14 22:20:29.577875"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:29.577875"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:29.579598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 13ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.612054"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$EIGES24tDMpgO.gWaZiuBeBwIhJ33gdU8aT2GlUJcMT321YMS1eNG"], ["updated_at", "2014-11-14 22:20:29.612054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:29.647677"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:29.647677"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:29.648351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:29.665774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.783397"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$AeQUiQ.T0GYLzKtOhnR0.usvMM2vVcjzkaCDiq3dZeyTTjdzMvZqy"], ["updated_at", "2014-11-14 22:20:29.783397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:29.819673"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:29.819673"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:29.820202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:29.836730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.7ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 0.6ms)  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:29.911103"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PDt8J4prGTaAh0FV/8AZIOHrPH4Jfm6q7mdUCuP.m0CpoyW8GlTA."], ["updated_at", "2014-11-14 22:20:29.911103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (4.8ms) Completed 200 OK in 28ms (Views: 26.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (7.7ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:29.956554"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:29.956554"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:29.966092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 8.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:29 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 82ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:30.059990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.0ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.101052"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:30.101052"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.109303"], ["expires_at", "2014-11-14 22:25:30.108917"], ["updated_at", "2014-11-14 22:20:30.109303"], ["value", "68091"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:30.112893"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:30.112893"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:30.113896"], ["updated_at", "2014-11-14 22:20:30.114854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:30.149416"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:30.150871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.188864"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$HQVoEgnlYWGMZCfsfeTFTOCZusdB55EEWxFJ5Qtdel25YuAmsgX7i"], ["updated_at", "2014-11-14 22:20:30.188864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:30.222929"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:30.222929"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:30.223413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:30.237579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:30.369195"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:30.370108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.404344"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$pywtrq/ZvHE6fgcewqM7N.XORtzAaMB0tlcz1hNXa2e4VnAn8FzE6"], ["updated_at", "2014-11-14 22:20:30.404344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:30.439679"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:30.439679"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:30.440274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:30.456343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.613958"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9awydO1OvK0rcAkVVA47FOBJ3ztmORbAGthrN1BzVSOEvRkBxGVEi"], ["updated_at", "2014-11-14 22:20:30.613958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:30.638778"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:30.638778"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:30.639269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:30.718568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.9ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.2ms | ActiveRecord: 0.5ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.766307"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:30.766307"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.773455"], ["expires_at", "2014-11-14 22:25:30.773149"], ["updated_at", "2014-11-14 22:20:30.773455"], ["value", "31231"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:30.776725"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:30.776725"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:30.777857"], ["updated_at", "2014-11-14 22:20:30.778979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.6ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"31231"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '31231' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "31231"], ["created_at", "2014-11-14 22:20:30.797291"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:30.797291"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:30.798465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.8ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.840148"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$.3h/hCqvnXToFssTDo1B3OdCBFVVlJeqaxp7UXu19OTRm0LbzkeWu"], ["updated_at", "2014-11-14 22:20:30.840148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (19.8ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:30.892729"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:30.892729"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:30.893551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:30.907901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.946583"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:30.946583"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:30.953496"], ["expires_at", "2014-11-14 22:25:30.953193"], ["updated_at", "2014-11-14 22:20:30.953496"], ["value", "82632"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (1.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:30.956740"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:30.956740"], ["vault_id", 1]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:30.961308"], ["updated_at", "2014-11-14 22:20:30.964479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 6.2ms | ActiveRecord: 2.8ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"82632"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '82632' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "82632"], ["created_at", "2014-11-14 22:20:30.986051"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:30.986051"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:30.987701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:30 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (14.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.145894"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qmGQLgGAYylWOwQv7vkA6exxQbiQPBCQGz04gpo2rUSx8vCQgQ.9m"], ["updated_at", "2014-11-14 22:20:31.145894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:31.165985"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:31.165985"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:31.166431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:31.180188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.223549"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:31.223549"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 13ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.232538"], ["expires_at", "2014-11-14 22:25:31.232228"], ["updated_at", "2014-11-14 22:20:31.232538"], ["value", "98344"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:31.235968"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:31.235968"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:31.236948"], ["updated_at", "2014-11-14 22:20:31.237871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"98344"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '98344' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "98344"], ["created_at", "2014-11-14 22:20:31.256334"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:31.256334"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:31.257433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 75ms (Views: 2.9ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.364767"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WKlo..Dz68iBx8bm/Ff9c.JdZNVBEOlN6GesMCI1L4Ue3iF5EtaC2"], ["updated_at", "2014-11-14 22:20:31.364767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:31.387812"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:31.387812"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:31.388382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:31.402849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.9ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.444127"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:31.444127"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.452677"], ["expires_at", "2014-11-14 22:25:31.452355"], ["updated_at", "2014-11-14 22:20:31.452677"], ["value", "33806"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:31.456141"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:31.456141"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:31.457128"], ["updated_at", "2014-11-14 22:20:31.458049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.6ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"33806"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '33806' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "33806"], ["created_at", "2014-11-14 22:20:31.476638"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:31.476638"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:31.477762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/authentication/disable" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#disable as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "gringotts_settings" WHERE "gringotts_settings"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.5ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.648547"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$oI.GB0bObTZ/7yGFTLu96ObdgKIsX2JX96NgekhDe8WwG12VfwLCi"], ["updated_at", "2014-11-14 22:20:31.648547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:31.668531"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:31.668531"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:31.668985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by HomeController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:31.690311"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.3ms)  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.752499"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9ziBabl6FPnUiOLTH1hopOFzTLSLdbSShP7MeFkPuMGKxujWOwsiS"], ["updated_at", "2014-11-14 22:20:31.752499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:31.847540"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:31.847540"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:31.848074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:31.862704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (2.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 4.2ms | ActiveRecord: 2.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (3.4ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.912481"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$hafD90dsijqlMg6EKXduFevgUuP5G8e/o2IXBKSWJC80e3EG/cHua"], ["updated_at", "2014-11-14 22:20:31.912481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:31.932772"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:31.932772"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:31.933229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:31.947022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:31.987859"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$gYXe8RIAgUSrwVd9mnw8pO02snlRD3Ogjm7MPIst6JfY2dvBcoOT2"], ["updated_at", "2014-11-14 22:20:31.987859"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:32.021858"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:32.021858"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:32.022377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:32.102465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"(406) 444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14064444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.131941"], ["phone_number", "14064444444"], ["updated_at", "2014-11-14 22:20:32.131941"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.139328"], ["expires_at", "2014-11-14 22:25:32.139011"], ["updated_at", "2014-11-14 22:20:32.139328"], ["value", "30889"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:32.142812"], ["phone_number", "14064444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:32.142812"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:32.144513"], ["updated_at", "2014-11-14 22:20:32.146409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 19ms (Views: 5.8ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.165684"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$k/WAWbyo3jZigVpTlXwj6.kgQm7.cs31E3pzIuiKP9Kv7LUntrgaK"], ["updated_at", "2014-11-14 22:20:32.165684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:20:32.186009"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:32.186009"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:32.186437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:20:32.204790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.9ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.244026"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:32.244026"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.251142"], ["expires_at", "2014-11-14 22:25:32.250836"], ["updated_at", "2014-11-14 22:20:32.251142"], ["value", "81020"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:32.254357"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:32.254357"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:32.255495"], ["updated_at", "2014-11-14 22:20:32.256474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.273631"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$rYa7hDvST/btnBoTA8AGgu5/qGOQUi06OsyHSQnhF3HoVDDCbmeo."], ["updated_at", "2014-11-14 22:20:32.273631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:32.292148"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:32.292148"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:32.292573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:32.310647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>""}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 3.7ms | ActiveRecord: 0.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.448786"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$fykXhFXJIaay1uipzz07FeLMBKUiWa/K/LPGyWTR4VmLkgP3zttkm"], ["updated_at", "2014-11-14 22:20:32.448786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:32.469041"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:32.469041"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:32.469478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:32.483251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"12345"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.1ms | ActiveRecord: 0.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.612557"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jaD4YGdTwgicUcY0g7/BqO7zCpqkU18vDUBZUh5COts54ZMv2o5X6"], ["updated_at", "2014-11-14 22:20:32.612557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:32.631540"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:32.631540"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:32.631974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:32.650338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.8ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.680211"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:32.680211"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.687474"], ["expires_at", "2014-11-14 22:25:32.687157"], ["updated_at", "2014-11-14 22:20:32.687474"], ["value", "61590"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.3ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:32.691267"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:32.691267"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:32.692768"], ["updated_at", "2014-11-14 22:20:32.694552"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (13.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 30ms (Views: 16.2ms | ActiveRecord: 2.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.734314"], ["expires_at", "2014-11-14 22:25:32.734021"], ["updated_at", "2014-11-14 22:20:32.734314"], ["value", "11756"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:32.737518"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:32.737518"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:32.738460"], ["updated_at", "2014-11-14 22:20:32.739378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.3ms | ActiveRecord: 1.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.759628"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$gs89TVXJSyowKDqbkZurQeryNUOizSRc.8iYN.WfUh91dNoj07nKO"], ["updated_at", "2014-11-14 22:20:32.759628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:32.848305"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:32.848305"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:32.848844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:32.863374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (5.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.913071"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:32.913071"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:32.920357"], ["expires_at", "2014-11-14 22:25:32.920047"], ["updated_at", "2014-11-14 22:20:32.920357"], ["value", "53212"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:32.923587"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:32.923587"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:32.924716"], ["updated_at", "2014-11-14 22:20:32.925697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.6ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"53212"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '53212' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "53212"], ["created_at", "2014-11-14 22:20:32.943955"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:32.943955"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:32.945052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:33.014616"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:33.015534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 22ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.047840"], ["expires_at", "2014-11-14 22:25:33.047420"], ["updated_at", "2014-11-14 22:20:33.047840"], ["value", "82889"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:33.051856"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:33.051856"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:33.053063"], ["updated_at", "2014-11-14 22:20:33.054169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 3.4ms | ActiveRecord: 1.6ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.181040"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$yJt1O2I..Zl0s7sPEqHf3OO211xXsAWweNYWLFrMAcgEaC1wD7ivG"], ["updated_at", "2014-11-14 22:20:33.181040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:33.201272"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:33.201272"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:33.202062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 38ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:33.252441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.292170"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:33.292170"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.300333"], ["expires_at", "2014-11-14 22:25:33.300004"], ["updated_at", "2014-11-14 22:20:33.300333"], ["value", "44044"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (1.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:33.307888"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:33.307888"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:33.309778"], ["updated_at", "2014-11-14 22:20:33.311018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 20ms (Views: 3.5ms | ActiveRecord: 3.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"44044"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '44044' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "44044"], ["created_at", "2014-11-14 22:20:33.329940"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:33.329940"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:33.331298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:33.372134"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:33.373356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.392724"], ["expires_at", "2014-11-14 22:25:33.392380"], ["updated_at", "2014-11-14 22:20:33.392724"], ["value", "76113"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:33.396255"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:33.396255"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:33.397289"], ["updated_at", "2014-11-14 22:20:33.398295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.1ms | ActiveRecord: 1.8ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.507610"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jJHFTifUw6J6HFB93heGB.gCKZIWkHehGtNfubbZToUvOr7hRSMfq"], ["updated_at", "2014-11-14 22:20:33.507610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:33.527292"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:33.527292"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:33.527744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:33.548757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.5ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.5ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.602347"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:33.602347"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.609873"], ["expires_at", "2014-11-14 22:25:33.609555"], ["updated_at", "2014-11-14 22:20:33.609873"], ["value", "56857"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:33.613605"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:33.613605"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:33.614724"], ["updated_at", "2014-11-14 22:20:33.615910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"56857"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '56857' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "56857"], ["created_at", "2014-11-14 22:20:33.634666"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:33.634666"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:33.635779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:33.674506"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:33.675277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by HomeController#index as HTML User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 11ms (ActiveRecord: 1.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.707311"], ["expires_at", "2014-11-14 22:25:33.705711"], ["updated_at", "2014-11-14 22:20:33.707311"], ["value", "07278"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:33.714914"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:33.714914"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:33.716036"], ["updated_at", "2014-11-14 22:20:33.717036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 4.0ms | ActiveRecord: 1.6ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.821590"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8/yIEAhI/QUPPouE9hQlk.eBtSbY7nwFd4kSqxVkkZNgEBgA/bU7e"], ["updated_at", "2014-11-14 22:20:33.821590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:33.842598"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:33.842598"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:33.843040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (1.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 2.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:33.863459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.879048"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$pPhb.aLucr2dtt/oQdu7LOmHAMLuVNDP0ZlMDCSV4d447Ppk2Gc4C"], ["updated_at", "2014-11-14 22:20:33.879048"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:20:33.915503"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:33.915503"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:33.916021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:20:33.932357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.976673"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:33.976673"], ["vault_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:33 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:33.987963"], ["expires_at", "2014-11-14 22:25:33.987635"], ["updated_at", "2014-11-14 22:20:33.987963"], ["value", "09462"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:33.991577"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:33.991577"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:33.992526"], ["updated_at", "2014-11-14 22:20:33.993450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 3.7ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:34.112766"], ["updated_at", "2014-11-14 22:20:34.112766"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.121397"], ["expires_at", "2014-11-14 22:25:34.121073"], ["updated_at", "2014-11-14 22:20:34.121397"], ["value", "30800"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.2ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:34.125173"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.125173"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:34.126211"], ["updated_at", "2014-11-14 22:20:34.127156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 4.0ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:34.144179"], ["updated_at", "2014-11-14 22:20:34.144179"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.151937"], ["expires_at", "2014-11-14 22:25:34.151634"], ["updated_at", "2014-11-14 22:20:34.151937"], ["value", "86847"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:34.155126"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.155126"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:34.156361"], ["updated_at", "2014-11-14 22:20:34.157316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.3ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:34.180797"], ["updated_at", "2014-11-14 22:20:34.180797"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 13ms (ActiveRecord: 2.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.188584"], ["expires_at", "2014-11-14 22:25:34.188298"], ["updated_at", "2014-11-14 22:20:34.188584"], ["value", "73379"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:20:34.191683"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.191683"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:20:34.192861"], ["updated_at", "2014-11-14 22:20:34.193833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.2ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:34.213351"], ["updated_at", "2014-11-14 22:20:34.213351"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.220297"], ["expires_at", "2014-11-14 22:25:34.220007"], ["updated_at", "2014-11-14 22:20:34.220297"], ["value", "27008"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 5], ["created_at", "2014-11-14 22:20:34.223427"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.223427"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 5 [["delivered_at", "2014-11-14 22:20:34.224354"], ["updated_at", "2014-11-14 22:20:34.225439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.3ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:34.251436"], ["updated_at", "2014-11-14 22:20:34.251436"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.264143"], ["expires_at", "2014-11-14 22:25:34.263815"], ["updated_at", "2014-11-14 22:20:34.264143"], ["value", "88682"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 6], ["created_at", "2014-11-14 22:20:34.267571"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.267571"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 6 [["delivered_at", "2014-11-14 22:20:34.268520"], ["updated_at", "2014-11-14 22:20:34.269446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.2ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:34.286248"], ["updated_at", "2014-11-14 22:20:34.286248"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.293089"], ["expires_at", "2014-11-14 22:25:34.292814"], ["updated_at", "2014-11-14 22:20:34.293089"], ["value", "62493"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 7], ["created_at", "2014-11-14 22:20:34.296134"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.296134"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 7 [["delivered_at", "2014-11-14 22:20:34.297019"], ["updated_at", "2014-11-14 22:20:34.298135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.315374"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Md5TbOMaLc6Il98VMU4JqOb.OJWrejmrVgssU1o/VHTXsaI5jLTuy"], ["updated_at", "2014-11-14 22:20:34.315374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:34.420956"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:34.420956"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:34.421509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:34.436827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.477599"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:34.477599"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.490161"], ["expires_at", "2014-11-14 22:25:34.489828"], ["updated_at", "2014-11-14 22:20:34.490161"], ["value", "67052"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:34.493515"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.493515"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:34.494458"], ["updated_at", "2014-11-14 22:20:34.495362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"67052"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '67052' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "67052"], ["created_at", "2014-11-14 22:20:34.513577"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:34.513577"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:34.514672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:34.552810"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:34.553382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 24ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.588501"], ["expires_at", "2014-11-14 22:25:34.588193"], ["updated_at", "2014-11-14 22:20:34.588501"], ["value", "72651"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:34.591779"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.591779"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:34.592803"], ["updated_at", "2014-11-14 22:20:34.593908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:34.611588"], ["updated_at", "2014-11-14 22:20:34.611588"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:34.614330') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 11ms (ActiveRecord: 1.5ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.624663"], ["expires_at", "2014-11-14 22:25:34.624335"], ["updated_at", "2014-11-14 22:20:34.624663"], ["value", "09588"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:34.628062"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.628062"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:34.628974"], ["updated_at", "2014-11-14 22:20:34.629877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.9ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:34.652196"], ["updated_at", "2014-11-14 22:20:34.652196"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:34.653708') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 11ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.661117"], ["expires_at", "2014-11-14 22:25:34.660824"], ["updated_at", "2014-11-14 22:20:34.661117"], ["value", "73039"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:20:34.664883"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.664883"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:20:34.665900"], ["updated_at", "2014-11-14 22:20:34.667328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.1ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:34.770640"], ["updated_at", "2014-11-14 22:20:34.770640"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:34.772276') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:20:34.773076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 12ms (ActiveRecord: 1.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.820450"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$3d7O28SMK.JV3WLYeddw1ufDvwc21ukbrLT1.m4WaOs2QJ1FNaSFe"], ["updated_at", "2014-11-14 22:20:34.820450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (1.8ms) Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:34.851811"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:34.851811"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:34.852405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:34.867198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.3ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.914166"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:34.914166"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10ms (ActiveRecord: 1.5ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:34.923877"], ["expires_at", "2014-11-14 22:25:34.923506"], ["updated_at", "2014-11-14 22:20:34.923877"], ["value", "55040"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:34.929793"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:34.929793"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:34.931620"], ["updated_at", "2014-11-14 22:20:34.932763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 18ms (Views: 3.4ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"55040"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '55040' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "55040"], ["created_at", "2014-11-14 22:20:34.951869"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:34.951869"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:34.952990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:35.087316"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:35.087911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.101728"], ["expires_at", "2014-11-14 22:25:35.101392"], ["updated_at", "2014-11-14 22:20:35.101728"], ["value", "87851"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:35.105438"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.105438"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:35.106421"], ["updated_at", "2014-11-14 22:20:35.107348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 4.0ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:35.127262"], ["updated_at", "2014-11-14 22:20:35.127262"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:35.128846') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 11ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.136071"], ["expires_at", "2014-11-14 22:25:35.135782"], ["updated_at", "2014-11-14 22:20:35.136071"], ["value", "47189"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:35.139457"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.139457"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:35.140431"], ["updated_at", "2014-11-14 22:20:35.141356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.0ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:35.157709"], ["updated_at", "2014-11-14 22:20:35.157709"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:35.159124') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.165846"], ["expires_at", "2014-11-14 22:25:35.165564"], ["updated_at", "2014-11-14 22:20:35.165846"], ["value", "72576"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:20:35.170578"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.170578"], ["vault_id", 1]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:20:35.173810"], ["updated_at", "2014-11-14 22:20:35.175577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (1.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 4.3ms | ActiveRecord: 3.1ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:35.193846"], ["updated_at", "2014-11-14 22:20:35.193846"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:35.195301') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:20:35.195994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.254999"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$3fYjmvdpNDKvNu4JBKPSX.C8EwXSymL6QVFKrkpL3QEDl7Tv5Nmhq"], ["updated_at", "2014-11-14 22:20:35.254999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:35.274800"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:35.274800"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:35.275239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:35.289016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (83.3ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 89ms (Views: 86.4ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.424699"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:35.424699"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.432255"], ["expires_at", "2014-11-14 22:25:35.431940"], ["updated_at", "2014-11-14 22:20:35.432255"], ["value", "37303"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:35.435937"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.435937"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:35.436974"], ["updated_at", "2014-11-14 22:20:35.437932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"37303"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '37303' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "37303"], ["created_at", "2014-11-14 22:20:35.457276"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:35.457276"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:35.458401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:35.497811"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:35.498410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.512201"], ["expires_at", "2014-11-14 22:25:35.511899"], ["updated_at", "2014-11-14 22:20:35.512201"], ["value", "88039"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:35.515417"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.515417"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:35.516343"], ["updated_at", "2014-11-14 22:20:35.517270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:35.533332"], ["updated_at", "2014-11-14 22:20:35.533332"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:35.534952') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.542099"], ["expires_at", "2014-11-14 22:25:35.541814"], ["updated_at", "2014-11-14 22:20:35.542099"], ["value", "69313"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:35.545358"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.545358"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:35.546374"], ["updated_at", "2014-11-14 22:20:35.547333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:35.562585"], ["updated_at", "2014-11-14 22:20:35.562585"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:35.563975') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.570511"], ["expires_at", "2014-11-14 22:25:35.570236"], ["updated_at", "2014-11-14 22:20:35.570511"], ["value", "05134"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:20:35.575603"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.575603"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:20:35.577567"], ["updated_at", "2014-11-14 22:20:35.579113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 3.1ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:35.595106"], ["updated_at", "2014-11-14 22:20:35.595106"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:35.596521') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:20:35.597211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.716312"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dcJ.wxOdyvT4lbi4SfAx1u/AEeBnRJbGHdE8EXMluABSK3zCOeeE."], ["updated_at", "2014-11-14 22:20:35.716312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:35.735311"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:35.735311"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:35.735743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:35.753782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.793649"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:35.793649"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.800619"], ["expires_at", "2014-11-14 22:25:35.800309"], ["updated_at", "2014-11-14 22:20:35.800619"], ["value", "18344"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:35.804074"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.804074"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:35.805248"], ["updated_at", "2014-11-14 22:20:35.806232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.5ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"18344"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '18344' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "18344"], ["created_at", "2014-11-14 22:20:35.824612"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:35.824612"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:35.825709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:35.860373"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:35.860817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.872500"], ["expires_at", "2014-11-14 22:25:35.872187"], ["updated_at", "2014-11-14 22:20:35.872500"], ["value", "75110"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.5ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:35.878075"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.878075"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:35.879593"], ["updated_at", "2014-11-14 22:20:35.880679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 3.3ms | ActiveRecord: 1.8ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:35.896553"], ["updated_at", "2014-11-14 22:20:35.896553"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:35.897973') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:35.905814"], ["expires_at", "2014-11-14 22:25:35.905506"], ["updated_at", "2014-11-14 22:20:35.905814"], ["value", "01555"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (1.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:35.912440"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:35.912440"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:35.916507"], ["updated_at", "2014-11-14 22:20:35.920024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 4.3ms | ActiveRecord: 3.0ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:36.020850"], ["updated_at", "2014-11-14 22:20:36.020850"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:36.022685') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.030292"], ["expires_at", "2014-11-14 22:25:36.029984"], ["updated_at", "2014-11-14 22:20:36.030292"], ["value", "63257"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:20:36.033775"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:36.033775"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:20:36.034772"], ["updated_at", "2014-11-14 22:20:36.035712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:36.051857"], ["updated_at", "2014-11-14 22:20:36.051857"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:36.053303') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:20:36.053989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.095477"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$AOF8sVHyau7oBafXxXUNA.I0qxAf2FsF2yn9vmKvuUYzgkuxzqipu"], ["updated_at", "2014-11-14 22:20:36.095477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.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 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:36.128182"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:36.128182"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:36.128662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:36.143908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.182336"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:36.182336"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.189239"], ["expires_at", "2014-11-14 22:25:36.188939"], ["updated_at", "2014-11-14 22:20:36.189239"], ["value", "29111"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:36.192443"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:36.192443"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:36.193527"], ["updated_at", "2014-11-14 22:20:36.194504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"29111"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '29111' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "29111"], ["created_at", "2014-11-14 22:20:36.291204"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:36.291204"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:36.292481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 89ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:36.331653"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:36.332129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.344637"], ["expires_at", "2014-11-14 22:25:36.344241"], ["updated_at", "2014-11-14 22:20:36.344637"], ["value", "10372"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:36.348090"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:36.348090"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:36.349044"], ["updated_at", "2014-11-14 22:20:36.349979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.2ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:36.365870"], ["updated_at", "2014-11-14 22:20:36.365870"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:36.367333') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.374242"], ["expires_at", "2014-11-14 22:25:36.373958"], ["updated_at", "2014-11-14 22:20:36.374242"], ["value", "49345"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:36.377447"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:36.377447"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:36.378415"], ["updated_at", "2014-11-14 22:20:36.379406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.0ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:36.394630"], ["updated_at", "2014-11-14 22:20:36.394630"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:36.396027') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.404522"], ["expires_at", "2014-11-14 22:25:36.404194"], ["updated_at", "2014-11-14 22:20:36.404522"], ["value", "44448"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:20:36.408445"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:36.408445"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:20:36.409587"], ["updated_at", "2014-11-14 22:20:36.410856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 3.7ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:36.427989"], ["updated_at", "2014-11-14 22:20:36.427989"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:36.429366') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:20:36.430074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.4ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.486690"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Oqh.rOx0VOU5CuCCs8wvheJ4JR12qpx.yWehj/VhhmamMZpIgZ.mm"], ["updated_at", "2014-11-14 22:20:36.486690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:36.610201"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:36.610201"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:36.610756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 1.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:36.627122"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.7ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 5ms (ActiveRecord: 1.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 3.3ms | ActiveRecord: 0.6ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.676691"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:36.676691"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.685088"], ["expires_at", "2014-11-14 22:25:36.684763"], ["updated_at", "2014-11-14 22:20:36.685088"], ["value", "76315"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:36.690184"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:36.690184"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:36.691328"], ["updated_at", "2014-11-14 22:20:36.692407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 19ms (Views: 5.0ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"76315"}, "commit"=>"Verify Code"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '76315' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "76315"], ["created_at", "2014-11-14 22:20:36.718605"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:36.718605"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:20:36.719842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 13ms (ActiveRecord: 1.6ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.4ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:36.756739"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:20:36.757190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.768915"], ["expires_at", "2014-11-14 22:25:36.768625"], ["updated_at", "2014-11-14 22:20:36.768915"], ["value", "61798"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:36.772152"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:36.772152"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:36.773067"], ["updated_at", "2014-11-14 22:20:36.774036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 1.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:36.789469"], ["updated_at", "2014-11-14 22:20:36.789469"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:36.790915') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.797614"], ["expires_at", "2014-11-14 22:25:36.797330"], ["updated_at", "2014-11-14 22:20:36.797614"], ["value", "76240"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:20:36.801048"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:36.801048"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:20:36.802046"], ["updated_at", "2014-11-14 22:20:36.803023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 2.9ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:36.819792"], ["updated_at", "2014-11-14 22:20:36.819792"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:36.821603') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:36.831365"], ["expires_at", "2014-11-14 22:25:36.830736"], ["updated_at", "2014-11-14 22:20:36.831365"], ["value", "44014"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:20:36.834627"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:36.834627"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:20:36.835521"], ["updated_at", "2014-11-14 22:20:36.836466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.1ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:20:36.852270"], ["updated_at", "2014-11-14 22:20:36.852270"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:50:36.853834') [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:20:36.949875"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 107ms (ActiveRecord: 1.6ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:20:36 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.3ms) begin transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.029257"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$m5zs4RPir5D5ElGY8L4pQe3OkAc18Me3NMZxc3/rI8FY3rfjtJWDa"], ["updated_at", "2014-11-14 22:20:37.029257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:37.049712"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:37.049712"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:37.050147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:37.064356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Filter chain halted as :require_gringotts rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.097190"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$tMk61UwTZf2mSDLG3rAHee2oC0gOCTJYkLHh64EXLF0CLlL0L6hQi"], ["updated_at", "2014-11-14 22:20:37.097190"]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (1.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:37.133266"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:37.133266"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:37.133765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:37.147910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms)  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.159771"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$uW6pHchXJTQ7FZ3chbZMEO7s6nNf2dkzUzjH1TgmeQPxYvWNf1CtK"], ["updated_at", "2014-11-14 22:20:37.159771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (5.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:20:37.184606"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:37.184606"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:37.185035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:20:37.205653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.343304"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:37.343304"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.351303"], ["expires_at", "2014-11-14 22:25:37.350974"], ["updated_at", "2014-11-14 22:20:37.351303"], ["value", "71867"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:37.356186"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:37.356186"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:37.357317"], ["updated_at", "2014-11-14 22:20:37.358371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 3.7ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.381425"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$4OjDSauV8gmfmnJOY.2tm.ZT01yVEN0Kik9wHb8f/Meup9QB5qQ7i"], ["updated_at", "2014-11-14 22:20:37.381425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:37.404663"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:37.404663"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:37.406367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.4ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.3ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:37.432425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.444225"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qA5g8Wpq1oP6n1ZP3L.k/uSNdnElax9GvEGPPZOQ63lJjBST8j3AO"], ["updated_at", "2014-11-14 22:20:37.444225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:20:37.468233"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:37.468233"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:37.468664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 12ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:20:37.494552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.7ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 0.5ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 5ms (ActiveRecord: 1.8ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.539196"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:37.539196"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.546131"], ["expires_at", "2014-11-14 22:25:37.545831"], ["updated_at", "2014-11-14 22:20:37.546131"], ["value", "76640"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:37.549617"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:37.549617"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:37.550865"], ["updated_at", "2014-11-14 22:20:37.551859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.7ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.670879"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$KozXHtwmBDnhYK68A4YUYO2LmkMnsBYNLiZ0RlonUNr5cQ3vK7D6y"], ["updated_at", "2014-11-14 22:20:37.670879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:37.691184"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:37.691184"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:37.691702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:37.711688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.1ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.723860"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$lRRV9Yj7GI4mWF.MW5wV5OkdBlr2LuMDjk1Afhd5EDzYvQlOCs6Sq"], ["updated_at", "2014-11-14 22:20:37.723860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:20:37.748490"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:37.748490"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:37.749127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:20:37.773017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.814002"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:37.814002"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:37.821158"], ["expires_at", "2014-11-14 22:25:37.820819"], ["updated_at", "2014-11-14 22:20:37.821158"], ["value", "38014"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:37.824487"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:37.824487"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:37.825613"], ["updated_at", "2014-11-14 22:20:37.826576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"38014"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '38014' AND "gringotts_attempts"."successful" = 't'  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "38014"], ["created_at", "2014-11-14 22:20:37.957737"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:37.957737"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 2 [["confirmed_at", "2014-11-14 22:20:37.961053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:20:37 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 3.1ms | ActiveRecord: 0.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.038334"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/6ujIGJjoxbo1GJeDKmxXewfWldnz4yLID/wRspOjJDRLwfMdf/NK"], ["updated_at", "2014-11-14 22:20:38.038334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.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 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:38.059593"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:38.059593"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:38.060030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:38.074195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 6.0ms | ActiveRecord: 0.6ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (1.2ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.121941"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:38.121941"], ["vault_id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 11ms (ActiveRecord: 2.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.132188"], ["expires_at", "2014-11-14 22:25:38.131866"], ["updated_at", "2014-11-14 22:20:38.132188"], ["value", "94181"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:38.135831"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:38.135831"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:38.136805"], ["updated_at", "2014-11-14 22:20:38.137721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.4ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.257760"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$cPVajTDALRubXCn3InZvk.fF7MV1sK6rxFu0IkfUUBGzzKdl8DH8u"], ["updated_at", "2014-11-14 22:20:38.257760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:38.278252"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:38.278252"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:38.278693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:38.292527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (5.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.9ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.338277"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:38.338277"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.345894"], ["expires_at", "2014-11-14 22:25:38.345577"], ["updated_at", "2014-11-14 22:20:38.345894"], ["value", "37161"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:38.349205"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:38.349205"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:38.350463"], ["updated_at", "2014-11-14 22:20:38.351471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (67.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 81ms (Views: 69.6ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.445274"], ["expires_at", "2014-11-14 22:25:38.444938"], ["updated_at", "2014-11-14 22:20:38.445274"], ["value", "93176"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:38.448704"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:38.448704"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:38.449676"], ["updated_at", "2014-11-14 22:20:38.450586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.7ms | ActiveRecord: 1.3ms)  (1.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.474749"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Ula/BICCluZG6M93.rbMLeGrxWe14bDUjJqyg1Iy.Szc92yEP/nKW"], ["updated_at", "2014-11-14 22:20:38.474749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:38.494392"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:38.494392"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:38.494829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:38.508658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 3.5ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.552882"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:38.552882"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.560316"], ["expires_at", "2014-11-14 22:25:38.560009"], ["updated_at", "2014-11-14 22:20:38.560316"], ["value", "57096"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:38.563521"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:38.563521"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:38.565050"], ["updated_at", "2014-11-14 22:20:38.566039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.675569"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$IDvGUpBx/AEWidk/JgPJEels8pl00CewEJYXafXolG38fGnnKj0ru"], ["updated_at", "2014-11-14 22:20:38.675569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:38.695354"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:38.695354"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:38.695795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:38.714813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.725739"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Rph0TCiqzt3.vpSQchK9MeYIVqYiS7Rz5/GSXMaH5uTf/rY54m/yO"], ["updated_at", "2014-11-14 22:20:38.725739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:20:38.746405"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:38.746405"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:38.746837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:20:38.763611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.7ms | ActiveRecord: 1.1ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.805798"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:38.805798"], ["vault_id", 2]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.815365"], ["expires_at", "2014-11-14 22:25:38.815047"], ["updated_at", "2014-11-14 22:20:38.815365"], ["value", "40724"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:38.818900"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:38.818900"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:38.819934"], ["updated_at", "2014-11-14 22:20:38.820873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>""}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.848669"], ["expires_at", "2014-11-14 22:25:38.848341"], ["updated_at", "2014-11-14 22:20:38.848669"], ["value", "92693"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:38.851993"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:38.851993"], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:38.852940"], ["updated_at", "2014-11-14 22:20:38.853856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 3.8ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? [["vault_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:38.979235"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$83JlcdDsFVYhyI6WcwDjgO5nz4z/4yBnqCgP.hmdC.7jE7YH1RxSO"], ["updated_at", "2014-11-14 22:20:38.979235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:20:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:38.998823"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:38.998823"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:38.999264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by HomeController#index as HTML User Load (14.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 20ms (ActiveRecord: 15.3ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:39.029822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.041560"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$X1ZbSP.FyDNX17cPmkJLwOZ8YR6/3XO7..oMXFAEQKlNvWjSs2JwS"], ["updated_at", "2014-11-14 22:20:39.041560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:20:39.061388"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:39.061388"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:39.061828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:20:39.079702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.6ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.119378"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:39.119378"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.126599"], ["expires_at", "2014-11-14 22:25:39.126290"], ["updated_at", "2014-11-14 22:20:39.126599"], ["value", "10201"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:39.129838"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:39.129838"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:39.130924"], ["updated_at", "2014-11-14 22:20:39.131913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"asdf"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "asdf"], ["created_at", "2014-11-14 22:20:39.235136"], ["updated_at", "2014-11-14 22:20:39.235136"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 18ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.243938"], ["expires_at", "2014-11-14 22:25:39.243612"], ["updated_at", "2014-11-14 22:20:39.243938"], ["value", "37718"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:39.247576"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:39.247576"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:39.248590"], ["updated_at", "2014-11-14 22:20:39.249558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 3.8ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.384821"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Cya4cWk/lPgk2V9nh.PSxOEwrGtXmrGGNj8zSXom.9w5YD3Shw9Qq"], ["updated_at", "2014-11-14 22:20:39.384821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:39.404458"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:39.404458"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:39.404900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:39.423611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 4.2ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.444089"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/AlK58ie3qnP45Iffn2Z.OOCsnF0BvCVAkXHwmlu.j..lmZ90bBCu"], ["updated_at", "2014-11-14 22:20:39.444089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:20:39.465637"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:39.465637"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:39.466074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:20:39.484905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.6ms | ActiveRecord: 0.9ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.524474"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:39.524474"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.531695"], ["expires_at", "2014-11-14 22:25:39.531379"], ["updated_at", "2014-11-14 22:20:39.531695"], ["value", "17438"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:39.534946"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:39.534946"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:39.536097"], ["updated_at", "2014-11-14 22:20:39.537059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "gringotts_codes" SET "expires_at" = ?, "updated_at" = ? WHERE "gringotts_codes"."id" = 1 [["expires_at", "2014-11-14 21:50:39.547835"], ["updated_at", "2014-11-14 22:20:39.548593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"17438"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "17438"], ["created_at", "2014-11-14 22:20:39.561036"], ["updated_at", "2014-11-14 22:20:39.561036"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.568367"], ["expires_at", "2014-11-14 22:25:39.568092"], ["updated_at", "2014-11-14 22:20:39.568367"], ["value", "22692"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:39.571499"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:39.571499"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:39.573486"], ["updated_at", "2014-11-14 22:20:39.574810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.5ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 10.8ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.718062"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$eVvfAYMYO0DC02r4RVWykOI/USP.Jo4qGpGtsCDRckKJB.snYzbXq"], ["updated_at", "2014-11-14 22:20:39.718062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (5.4ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:20:39.742716"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:39.742716"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:39.743171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:20:39.757920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.768335"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$kqQ6eeR0Y.BYflU89bmBauJOf4wFfooBinAQO.p9erMjnj4m58H06"], ["updated_at", "2014-11-14 22:20:39.768335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:20:39.869054"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:20:39.869054"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:20:39.869613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:20:39.887296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (1.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.927195"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:20:39.927195"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.934218"], ["expires_at", "2014-11-14 22:25:39.933914"], ["updated_at", "2014-11-14 22:20:39.934218"], ["value", "66379"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:20:39.937457"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:39.937457"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:20:39.938594"], ["updated_at", "2014-11-14 22:20:39.939605"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 5.7ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.5ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "66379"], ["created_at", "2014-11-14 22:20:39.963565"], ["successful", "t"], ["updated_at", "2014-11-14 22:20:39.963565"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"66379"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '66379' AND "gringotts_attempts"."successful" = 't'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "66379"], ["created_at", "2014-11-14 22:20:39.978603"], ["updated_at", "2014-11-14 22:20:39.978603"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:20:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:20:39.986012"], ["expires_at", "2014-11-14 22:25:39.985721"], ["updated_at", "2014-11-14 22:20:39.986012"], ["value", "92508"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:20:39.992108"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:20:39.992108"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:20:39.994021"], ["updated_at", "2014-11-14 22:20:39.996503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 3.9ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.105385"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$xcR9fnUimT5TNP5FVaHQ3ucvJvil0crY1da5RW7maYjIJahWFjMIy"], ["updated_at", "2014-11-14 22:21:21.105385"]]  (0.9ms) commit transaction  (1.0ms) DELETE FROM "gringotts_attempts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_attempts';  (0.9ms) DELETE FROM "gringotts_codes";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_codes';  (0.9ms) DELETE FROM "gringotts_deliveries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'gringotts_deliveries';  (0.9ms) DELETE FROM "gringotts_settings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_settings';  (0.9ms) DELETE FROM "gringotts_vaults";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_vaults';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.8ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.736445"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:21.736445"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.769222"], ["expires_at", "2014-11-14 22:26:21.768625"], ["updated_at", "2014-11-14 22:21:21.769222"], ["value", "45393"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.815296"], ["expires_at", "2014-12-14 22:21:21.814266"], ["updated_at", "2014-11-14 22:21:21.815296"], ["value", "66038"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "66038"], ["created_at", "2014-11-14 22:21:21.818664"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:21.818664"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.844903"], ["expires_at", "2014-12-14 22:21:21.844071"], ["updated_at", "2014-11-14 22:21:21.844903"], ["value", "25766"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.851910"], ["expires_at", "2014-12-14 22:21:21.851159"], ["updated_at", "2014-11-14 22:21:21.851910"], ["value", "13954"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.859832"], ["expires_at", "2014-12-14 22:21:21.858675"], ["updated_at", "2014-11-14 22:21:21.859832"], ["value", "00208"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.872330"], ["expires_at", "2014-12-14 22:21:21.868927"], ["updated_at", "2014-11-14 22:21:21.872330"], ["value", "99324"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.884259"], ["expires_at", "2014-12-14 22:21:21.883446"], ["updated_at", "2014-11-14 22:21:21.884259"], ["value", "26342"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.892103"], ["expires_at", "2014-12-14 22:21:21.891241"], ["updated_at", "2014-11-14 22:21:21.892103"], ["value", "63476"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.899748"], ["expires_at", "2014-12-14 22:21:21.898952"], ["updated_at", "2014-11-14 22:21:21.899748"], ["value", "08017"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.907783"], ["expires_at", "2014-12-14 22:21:21.906968"], ["updated_at", "2014-11-14 22:21:21.907783"], ["value", "99921"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.914398"], ["expires_at", "2014-12-14 22:21:21.913647"], ["updated_at", "2014-11-14 22:21:21.914398"], ["value", "97131"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.921693"], ["expires_at", "2014-12-14 22:21:21.919944"], ["updated_at", "2014-11-14 22:21:21.921693"], ["value", "89488"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:21.928534"], ["expires_at", "2014-12-14 22:21:21.927765"], ["updated_at", "2014-11-14 22:21:21.928534"], ["value", "79624"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:21.943974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.047867"], ["expires_at", "2014-11-14 21:51:22.047017"], ["updated_at", "2014-11-14 22:21:22.047867"], ["value", "42814"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:22.138367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.147486"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.147486"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '15555555555' AND "gringotts_settings"."id" != 1) LIMIT 1 SQL (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = ?, "updated_at" = ? WHERE "gringotts_settings"."id" = 1 [["phone_number", "15555555555"], ["updated_at", "2014-11-14 22:21:22.157034"]] Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.244597"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FApTQvTLK0lflw0YhKY.n.199/Uj9GyAVcefIvDXg/a91D2/bjhSG"], ["updated_at", "2014-11-14 22:21:22.244597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.271413"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.271413"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 21:51:22.277302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.291840"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0HXawqpf3404kAuK0pmAr.ProPMmRCMhtmoR6yAdUZSD.aGQ1g1hC"], ["updated_at", "2014-11-14 22:21:22.291840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.315573"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.315573"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:22.325608"], ["updated_at", "2014-11-14 22:21:22.325608"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:22.334509"], ["updated_at", "2014-11-14 22:21:22.334509"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.346284"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$aQY8LGnSRmgmRnixjlj7S.ncclNcQKQR3HVVtjJ/1Jdc.Qcyh5Kva"], ["updated_at", "2014-11-14 22:21:22.346284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.377407"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.377407"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:22.380451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:22.392407"], ["updated_at", "2014-11-14 22:21:22.392407"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:22.400859"], ["updated_at", "2014-11-14 22:21:22.400859"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:22.406274') [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.420217"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2klNR8HxjBoGy0LAoAd2PevOtil/U0oh7eRovdFyF1bAoVJ6XsR2K"], ["updated_at", "2014-11-14 22:21:22.420217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.449524"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.449524"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]] Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.560619"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$rQwQmhnUd2u4UecqYmalJeLWe6ZNDzb3mo9OlwT6MLMRtlpJSDL5K"], ["updated_at", "2014-11-14 22:21:22.560619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.593203"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.593203"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.597975"], ["expires_at", "2014-11-14 22:26:22.597485"], ["updated_at", "2014-11-14 22:21:22.597975"], ["value", "20756"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.613901"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WbSxD/RwLlt4ngBKc9ZcBewDDeRgVGstz68looKj5pc9K5X1DJyTq"], ["updated_at", "2014-11-14 22:21:22.613901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.636082"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.636082"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:21:22.641141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.654354"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$QV3TFMCd5CVto9AxfVKM.u.ilCIoEBsPjXMPWrTTat/C9LiDZbZxS"], ["updated_at", "2014-11-14 22:21:22.654354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.7ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.676283"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.676283"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:21:22.678631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.694201"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$cMywk5Uj8rFwWImOrnUY2e7x807kqGkJgbJFNEvgeWKqtOgCnLsAq"], ["updated_at", "2014-11-14 22:21:22.694201"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.716273"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.716273"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:22.718676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.731183"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dmJpdkEVmK9BgGI4zQfvZOmKcoNYB8tMgKQ5RJsmGUMNUo62jwn7W"], ["updated_at", "2014-11-14 22:21:22.731183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.4ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.755614"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.755614"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.773342"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2/lhFWKJE7RfkEie92S1ruVOfaWz8JhhsGBdAu1SSrmnmyBB/1scW"], ["updated_at", "2014-11-14 22:21:22.773342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.794941"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.794941"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.808010"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Nfg.e185pOd9dTjAQquyZ.y5BtSm6PENUhRYoaU2mJVV7Eb/LSR/G"], ["updated_at", "2014-11-14 22:21:22.808010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.829782"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.829782"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (1.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.844063"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$BNUg3j1pFFgl4OYPibEH9Op8P7uOMjmwNbVHgbLJ.i/O/UP.DglJy"], ["updated_at", "2014-11-14 22:21:22.844063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.867631"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.867631"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.886259"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$aRJmqxLt5ulXfg9FcxOihu8X66mOieqhxTWEEw2t50QETmhXqLutS"], ["updated_at", "2014-11-14 22:21:22.886259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.908046"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.908046"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:22.910503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:22.920287"], ["updated_at", "2014-11-14 22:21:22.920287"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:22.929218"], ["updated_at", "2014-11-14 22:21:22.929218"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:22.938214"], ["updated_at", "2014-11-14 22:21:22.938214"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:22.941259') [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.955023"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$4fV.qRiL5RURneZdTysCd.hZ7oAerBIOJM2Z6DsFW4ydV1Md8YytO"], ["updated_at", "2014-11-14 22:21:22.955023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:22.978314"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:22.978314"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '18005551212' AND "gringotts_settings"."id" != 1) LIMIT 1 SQL (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = ?, "updated_at" = ? WHERE "gringotts_settings"."id" = 1 [["phone_number", "18005551212"], ["updated_at", "2014-11-14 22:21:23.077142"]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.092482"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$XOS1vCl6qizjie9EcYfXaeZ49BayZyihb9lGQ..r7cn0kwBw53v6u"], ["updated_at", "2014-11-14 22:21:23.092482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.115949"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.115949"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.127244"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$oMBjP8B6yR8q0zTy4fDo8e0HB6JUPgf9La29jiUCcAEIGB6x.szrG"], ["updated_at", "2014-11-14 22:21:23.127244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.150114"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.150114"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:23.152455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.165296"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8miE41FjOh1TBsPQu48i3.4xqy7FOk2fdHvlPWw0kBpe8WE9RGHVK"], ["updated_at", "2014-11-14 22:21:23.165296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.187127"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.187127"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.192681"], ["expires_at", "2014-11-14 22:26:23.192191"], ["updated_at", "2014-11-14 22:21:23.192681"], ["value", "72604"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.207311"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$55io52yotuEIpcccgg3zWObBsjwoRNV/.rmjFLFjEksmILpLQvYGi"], ["updated_at", "2014-11-14 22:21:23.207311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.228640"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.228640"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (1.1ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.239097"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$u/9V9ca83hDjcKOqBeaGAOSaVYZkKkqImE4mK7y7k6GkrwKU3vxH."], ["updated_at", "2014-11-14 22:21:23.239097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.265734"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.265734"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.276346"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$h5ndm4ZeD0eDQNgIOe1ECu9jnAMOhWV7mD11.EKgynl6khLx8xnRC"], ["updated_at", "2014-11-14 22:21:23.276346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.298539"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.298539"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.308664"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$R6O2f7V31jVlZz5NjEHTjO0wxH2.68bJ15sFcUIlmLaP4X3JjGTOG"], ["updated_at", "2014-11-14 22:21:23.308664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.343309"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.343309"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:23.345694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.359157"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1aOoFYn8QJn.ZEbw0BgeKO8OULiIFSMeeCTdpkQSe.vVlsvzMQyYu"], ["updated_at", "2014-11-14 22:21:23.359157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.385594"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.385594"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:21:23.390821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (1.0ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.407705"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8OTcqeAX6WjPfFB50xUG2.WglkEkFUlhLfA9GiHBOJ05oD8jE80my"], ["updated_at", "2014-11-14 22:21:23.407705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.6ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.430309"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.430309"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.434124"], ["expires_at", "2014-11-14 22:26:23.433685"], ["updated_at", "2014-11-14 22:21:23.434124"], ["value", "10139"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.452086"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$EClwm7AiE/cenehRGM0ikO/KgczolGQrX9uToTUYvnnSSkdz3iWrS"], ["updated_at", "2014-11-14 22:21:23.452086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.474146"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.474146"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.623736"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.623736"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.631860"], ["expires_at", "2014-11-14 22:26:23.631370"], ["updated_at", "2014-11-14 22:21:23.631860"], ["value", "57572"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:23.639462"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:21:23.639462"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.9ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.661620"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.661620"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.668648"], ["expires_at", "2014-11-14 22:26:23.668177"], ["updated_at", "2014-11-14 22:21:23.668648"], ["value", "03149"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:23.674675"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:21:23.674675"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.698240"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.698240"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.705337"], ["expires_at", "2014-11-14 22:26:23.704873"], ["updated_at", "2014-11-14 22:21:23.705337"], ["value", "45288"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:23.711147"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:21:23.711147"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:23.714163"], ["updated_at", "2014-11-14 22:21:23.716922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.737805"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.737805"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.745479"], ["expires_at", "2014-11-14 22:26:23.744973"], ["updated_at", "2014-11-14 22:21:23.745479"], ["value", "74092"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:23.753409"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:21:23.753409"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.777957"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.777957"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.785875"], ["expires_at", "2014-11-14 22:26:23.785401"], ["updated_at", "2014-11-14 22:21:23.785875"], ["value", "52318"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:23.791951"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:21:23.791951"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:23.794598"], ["updated_at", "2014-11-14 22:21:23.797444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.818802"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.818802"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.826149"], ["expires_at", "2014-11-14 22:26:23.825671"], ["updated_at", "2014-11-14 22:21:23.826149"], ["value", "50009"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:23.832403"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:21:23.832403"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.854595"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.854595"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.862130"], ["expires_at", "2014-11-14 22:26:23.861662"], ["updated_at", "2014-11-14 22:21:23.862130"], ["value", "85882"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:23.871049"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", "2014-11-14 22:21:23.871049"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:23.880139"], ["updated_at", "2014-11-14 22:21:23.883632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.906191"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.906191"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.913538"], ["expires_at", "2014-11-14 22:26:23.913069"], ["updated_at", "2014-11-14 22:21:23.913538"], ["value", "32591"], ["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.943003"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.943003"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.949979"], ["expires_at", "2014-11-14 22:26:23.949497"], ["updated_at", "2014-11-14 22:21:23.949979"], ["value", "93926"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:23.955793"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:21:23.955793"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:21:23.961657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.983273"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:23.983273"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:23.990822"], ["expires_at", "2014-11-14 22:26:23.990355"], ["updated_at", "2014-11-14 22:21:23.990822"], ["value", "89916"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:23.996758"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:21:23.996758"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:21:24.002622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.023732"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:24.023732"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.121214"], ["expires_at", "2014-11-14 22:26:24.120703"], ["updated_at", "2014-11-14 22:21:24.121214"], ["value", "18130"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:24.128088"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:21:24.128088"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["error_message", "Error message from ErrorRaisingStrategy"], ["updated_at", "2014-11-14 22:21:24.133867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.182556"], ["expires_at", "2014-12-14 22:21:24.181829"], ["updated_at", "2014-11-14 22:21:24.182556"], ["value", "15476"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.214862"], ["expires_at", "2014-12-14 22:21:24.214110"], ["updated_at", "2014-11-14 22:21:24.214862"], ["value", "49507"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.245711"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$2yaUZm36RPz1iXaaY4kum.JjmLgqQk/GXWjvVhnztJ6KHvns.ZaSy"], ["updated_at", "2014-11-14 22:21:24.245711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'the_user@foo.bar.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'first.last@foo.jp' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.290037"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$zs5Cgvo9tQKmO9/CSZqEb.y5jpPGX7TX3qDX2MIuw4i9gr1GijBb2"], ["updated_at", "2014-11-14 22:21:24.290037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.306743"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$yjxlgC9edBFnjNqFhWhVRui.hKJMwToq93dmLWyR3c57ZopunuDfu"], ["updated_at", "2014-11-14 22:21:24.306743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@foo,com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_at_foo.org' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example.user@foo.' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.360578"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$HPCKNOKOh2/y1.9ytggCoeh4SYaDb5UmPO718g8zwZYkunqa.xKLq"], ["updated_at", "2014-11-14 22:21:24.360578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.373536"], ["email", "user@example.com"], ["encrypted_password", "$2a$04$2k.AtCFh4mHbHu8GS6hsSus8.sPBWOS8q.FxBNXJcdgpJCLRg6mI2"], ["updated_at", "2014-11-14 22:21:24.373536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.397573"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:24.397573"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.406860"], ["expires_at", "2014-11-14 22:26:24.406350"], ["updated_at", "2014-11-14 22:21:24.406860"], ["value", "29936"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.5ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.430451"], ["expires_at", "2014-12-14 22:21:24.429727"], ["updated_at", "2014-11-14 22:21:24.430451"], ["value", "25075"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "25075"], ["created_at", "2014-11-14 22:21:24.433298"], ["updated_at", "2014-11-14 22:21:24.433298"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.436331"], ["expires_at", "2014-12-14 22:21:24.435764"], ["updated_at", "2014-11-14 22:21:24.436331"], ["value", "71096"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.444818"], ["expires_at", "2014-11-14 21:51:24.444230"], ["updated_at", "2014-11-14 22:21:24.444818"], ["value", "52264"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "52264"], ["created_at", "2014-11-14 22:21:24.448242"], ["updated_at", "2014-11-14 22:21:24.448242"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.477439"], ["expires_at", "2014-12-14 22:21:24.476728"], ["updated_at", "2014-11-14 22:21:24.477439"], ["value", "20236"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "20236"], ["created_at", "2014-11-14 22:21:24.480266"], ["updated_at", "2014-11-14 22:21:24.480266"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.483981"], ["expires_at", "2014-12-14 22:21:24.483036"], ["updated_at", "2014-11-14 22:21:24.483981"], ["value", "84230"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.492337"], ["expires_at", "2014-11-14 21:51:24.491761"], ["updated_at", "2014-11-14 22:21:24.492337"], ["value", "21439"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "21439"], ["created_at", "2014-11-14 22:21:24.495091"], ["updated_at", "2014-11-14 22:21:24.495091"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.513729"], ["expires_at", "2014-12-14 22:21:24.513016"], ["updated_at", "2014-11-14 22:21:24.513729"], ["value", "78774"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "78774"], ["created_at", "2014-11-14 22:21:24.516986"], ["updated_at", "2014-11-14 22:21:24.516986"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.520761"], ["expires_at", "2014-12-14 22:21:24.520151"], ["updated_at", "2014-11-14 22:21:24.520761"], ["value", "21892"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.528921"], ["expires_at", "2014-11-14 21:51:24.528347"], ["updated_at", "2014-11-14 22:21:24.528921"], ["value", "76145"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "76145"], ["created_at", "2014-11-14 22:21:24.531816"], ["updated_at", "2014-11-14 22:21:24.531816"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.2ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.555215"], ["expires_at", "2014-12-14 22:21:24.554439"], ["updated_at", "2014-11-14 22:21:24.555215"], ["value", "24496"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "24496"], ["created_at", "2014-11-14 22:21:24.558901"], ["updated_at", "2014-11-14 22:21:24.558901"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.562955"], ["expires_at", "2014-12-14 22:21:24.562325"], ["updated_at", "2014-11-14 22:21:24.562955"], ["value", "05764"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.571432"], ["expires_at", "2014-11-14 21:51:24.570832"], ["updated_at", "2014-11-14 22:21:24.571432"], ["value", "51160"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "51160"], ["created_at", "2014-11-14 22:21:24.576512"], ["updated_at", "2014-11-14 22:21:24.576512"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) commit transaction  (0.1ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.604674"], ["expires_at", "2014-12-14 22:21:24.603957"], ["updated_at", "2014-11-14 22:21:24.604674"], ["value", "86692"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "86692"], ["created_at", "2014-11-14 22:21:24.697159"], ["updated_at", "2014-11-14 22:21:24.697159"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.701708"], ["expires_at", "2014-12-14 22:21:24.700987"], ["updated_at", "2014-11-14 22:21:24.701708"], ["value", "36391"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.711673"], ["expires_at", "2014-11-14 21:51:24.710909"], ["updated_at", "2014-11-14 22:21:24.711673"], ["value", "51788"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "51788"], ["created_at", "2014-11-14 22:21:24.714788"], ["updated_at", "2014-11-14 22:21:24.714788"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.733650"], ["expires_at", "2014-12-14 22:21:24.732928"], ["updated_at", "2014-11-14 22:21:24.733650"], ["value", "58420"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "58420"], ["created_at", "2014-11-14 22:21:24.736560"], ["updated_at", "2014-11-14 22:21:24.736560"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.740427"], ["expires_at", "2014-12-14 22:21:24.739779"], ["updated_at", "2014-11-14 22:21:24.740427"], ["value", "45609"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.760002"], ["expires_at", "2014-12-14 22:21:24.759195"], ["updated_at", "2014-11-14 22:21:24.760002"], ["value", "71088"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "71088"], ["created_at", "2014-11-14 22:21:24.763125"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:24.763125"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "71088"], ["created_at", "2014-11-14 22:21:24.766157"], ["updated_at", "2014-11-14 22:21:24.766157"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "71088"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.793414"], ["expires_at", "2014-12-14 22:21:24.792692"], ["updated_at", "2014-11-14 22:21:24.793414"], ["value", "13454"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "13454"], ["created_at", "2014-11-14 22:21:24.796297"], ["updated_at", "2014-11-14 22:21:24.796297"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.799697"], ["expires_at", "2014-12-14 22:21:24.798948"], ["updated_at", "2014-11-14 22:21:24.799697"], ["value", "55970"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.812619"], ["expires_at", "2014-12-14 22:21:24.811841"], ["updated_at", "2014-11-14 22:21:24.812619"], ["value", "05922"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "05922"], ["created_at", "2014-11-14 22:21:24.815748"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:24.815748"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "05922"], ["created_at", "2014-11-14 22:21:24.818354"], ["updated_at", "2014-11-14 22:21:24.818354"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "13454"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.843826"], ["expires_at", "2014-12-14 22:21:24.843080"], ["updated_at", "2014-11-14 22:21:24.843826"], ["value", "03472"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "03472"], ["created_at", "2014-11-14 22:21:24.846736"], ["updated_at", "2014-11-14 22:21:24.846736"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.849970"], ["expires_at", "2014-12-14 22:21:24.849370"], ["updated_at", "2014-11-14 22:21:24.849970"], ["value", "28950"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.863172"], ["expires_at", "2014-12-14 22:21:24.862522"], ["updated_at", "2014-11-14 22:21:24.863172"], ["value", "77118"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "77118"], ["created_at", "2014-11-14 22:21:24.866231"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:24.866231"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "77118"], ["created_at", "2014-11-14 22:21:24.871125"], ["updated_at", "2014-11-14 22:21:24.871125"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.900989"], ["expires_at", "2014-12-14 22:21:24.900190"], ["updated_at", "2014-11-14 22:21:24.900989"], ["value", "08046"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "08046"], ["created_at", "2014-11-14 22:21:24.903998"], ["updated_at", "2014-11-14 22:21:24.903998"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.907204"], ["expires_at", "2014-12-14 22:21:24.906475"], ["updated_at", "2014-11-14 22:21:24.907204"], ["value", "47894"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.920364"], ["expires_at", "2014-12-14 22:21:24.919691"], ["updated_at", "2014-11-14 22:21:24.920364"], ["value", "18428"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "18428"], ["created_at", "2014-11-14 22:21:24.923683"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:24.923683"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "18428"], ["created_at", "2014-11-14 22:21:24.926860"], ["updated_at", "2014-11-14 22:21:24.926860"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "18428"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.953622"], ["expires_at", "2014-12-14 22:21:24.952889"], ["updated_at", "2014-11-14 22:21:24.953622"], ["value", "76687"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "76687"], ["created_at", "2014-11-14 22:21:24.956476"], ["updated_at", "2014-11-14 22:21:24.956476"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.959997"], ["expires_at", "2014-12-14 22:21:24.959292"], ["updated_at", "2014-11-14 22:21:24.959997"], ["value", "32583"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:24.973328"], ["expires_at", "2014-12-14 22:21:24.972657"], ["updated_at", "2014-11-14 22:21:24.973328"], ["value", "68006"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "68006"], ["created_at", "2014-11-14 22:21:24.976521"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:24.976521"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "68006"], ["created_at", "2014-11-14 22:21:24.979164"], ["updated_at", "2014-11-14 22:21:24.979164"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "68006"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.004797"], ["expires_at", "2014-12-14 22:21:25.004060"], ["updated_at", "2014-11-14 22:21:25.004797"], ["value", "31345"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "31345"], ["created_at", "2014-11-14 22:21:25.007682"], ["updated_at", "2014-11-14 22:21:25.007682"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.010933"], ["expires_at", "2014-12-14 22:21:25.010322"], ["updated_at", "2014-11-14 22:21:25.010933"], ["value", "01988"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.019494"], ["expires_at", "2014-12-14 22:21:25.018852"], ["updated_at", "2014-11-14 22:21:25.019494"], ["value", "88793"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "88793"], ["created_at", "2014-11-14 22:21:25.022274"], ["updated_at", "2014-11-14 22:21:25.022274"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "88793"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.049184"], ["expires_at", "2014-12-14 22:21:25.048410"], ["updated_at", "2014-11-14 22:21:25.049184"], ["value", "04827"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "04827"], ["created_at", "2014-11-14 22:21:25.052172"], ["updated_at", "2014-11-14 22:21:25.052172"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.056152"], ["expires_at", "2014-12-14 22:21:25.055494"], ["updated_at", "2014-11-14 22:21:25.056152"], ["value", "24707"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.064688"], ["expires_at", "2014-12-14 22:21:25.064068"], ["updated_at", "2014-11-14 22:21:25.064688"], ["value", "34087"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "34087"], ["created_at", "2014-11-14 22:21:25.067454"], ["updated_at", "2014-11-14 22:21:25.067454"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.074014"], ["expires_at", "2014-12-14 22:21:25.073319"], ["updated_at", "2014-11-14 22:21:25.074014"], ["value", "60440"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.091670"], ["expires_at", "2014-12-14 22:21:25.090945"], ["updated_at", "2014-11-14 22:21:25.091670"], ["value", "72840"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "72840"], ["created_at", "2014-11-14 22:21:25.094564"], ["updated_at", "2014-11-14 22:21:25.094564"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.098384"], ["expires_at", "2014-12-14 22:21:25.097465"], ["updated_at", "2014-11-14 22:21:25.098384"], ["value", "35042"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.200606"], ["expires_at", "2014-12-14 22:21:25.199611"], ["updated_at", "2014-11-14 22:21:25.200606"], ["value", "57776"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "57776"], ["created_at", "2014-11-14 22:21:25.204507"], ["updated_at", "2014-11-14 22:21:25.204507"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:25.234990"], ["expires_at", "2014-12-14 22:21:25.234201"], ["updated_at", "2014-11-14 22:21:25.234990"], ["value", "95518"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1145.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "95518"], ["created_at", "2014-11-14 22:21:25.239904"], ["updated_at", "2014-11-14 22:21:25.239904"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:26.389782"], ["expires_at", "2014-12-14 22:21:26.389036"], ["updated_at", "2014-11-14 22:21:26.389782"], ["value", "17630"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1155.0ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:26.400075"], ["expires_at", "2014-12-14 22:21:26.399316"], ["updated_at", "2014-11-14 22:21:26.400075"], ["value", "59636"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "59636"], ["created_at", "2014-11-14 22:21:27.558708"], ["updated_at", "2014-11-14 22:21:27.558708"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.3ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "59636"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:27.596824"], ["expires_at", "2014-12-14 22:21:27.596098"], ["updated_at", "2014-11-14 22:21:27.596824"], ["value", "96876"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "96876"], ["created_at", "2014-11-14 22:21:27.599641"], ["updated_at", "2014-11-14 22:21:27.599641"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:27.603205"], ["expires_at", "2014-12-14 22:21:27.602469"], ["updated_at", "2014-11-14 22:21:27.603205"], ["value", "06388"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:27.614909"], ["expires_at", "2014-12-14 22:21:27.614132"], ["updated_at", "2014-11-14 22:21:27.614909"], ["value", "20535"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "20535"], ["created_at", "2014-11-14 22:21:27.618691"], ["updated_at", "2014-11-14 22:21:27.618691"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:27.660226"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:27.660226"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:27.668214"], ["expires_at", "2014-11-14 22:26:27.667730"], ["updated_at", "2014-11-14 22:21:27.668214"], ["value", "62919"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 1], ["owner_type", "User"]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 1], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:33.009311"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WvFej4mnqPVQ6ZqSMjT8p.si7MCNpAf.lC4FR9rZ6vsFZb6WAJaeq"], ["updated_at", "2014-11-14 22:21:33.009311"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (104.4ms) Rendered layouts/_navigation.html.erb (5.9ms) Rendered layouts/_messages.html.erb (0.7ms) Completed 200 OK in 177ms (Views: 154.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]] Completed 401 Unauthorized in 4ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.5ms) Rendered layouts/_navigation.html.erb (2.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.0ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:33.704443"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$MKnnCaZxp3.0o.LBk6l.G.kzELqKwG4E7dDQeBA1l2svkvmrDFPBS"], ["updated_at", "2014-11-14 22:21:33.704443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:33 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:33 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.8ms) Rendered layouts/_navigation.html.erb (6.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.0ms) Rendered layouts/_navigation.html.erb (2.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:33.768359"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:33.768359"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:33.769826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 27ms (ActiveRecord: 1.1ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:33 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:33.917169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (9.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 51ms (Views: 19.8ms | ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:33 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (2.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 4.7ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:34.082871"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$h.2wgyotyv3ycKzdM90qCuQfxrME8z2R8YRpr0Dd1dFunR20X3FGi"], ["updated_at", "2014-11-14 22:21:34.082871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (14.8ms) Rendered layouts/_navigation.html.erb (2.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "wrong@example.com"]] Completed 401 Unauthorized in 4ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.3ms) Rendered layouts/_navigation.html.erb (1.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:34.360669"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PlVQAxskBi4WNUkgIK7xOO6pYHNQXOys2HQ4mEjT8JzfutpmJQIAC"], ["updated_at", "2014-11-14 22:21:34.360669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.2ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (14.7ms) Rendered layouts/_navigation.html.erb (2.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]] Completed 401 Unauthorized in 5ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.8ms) Rendered layouts/_navigation.html.erb (1.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:34.637720"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$lRC65KsvOp/pKgqb8mwf6.FM3ajCMjgIQoZjPeq.z38rjzE9LS3qK"], ["updated_at", "2014-11-14 22:21:34.637720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.4ms) Rendered layouts/_navigation.html.erb (2.4ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:34.672565"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:34.672565"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:34.676454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:34.707737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (4.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 8.7ms | ActiveRecord: 0.6ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (2.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (2.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (11.7ms) Rendered layouts/_navigation.html.erb (2.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 23.5ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:21:34 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:34.998474"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$P3qkat878q35..6G59QuseHSkbVanjBy2tnEowwgjtk3.dPpEk8t2"], ["updated_at", "2014-11-14 22:21:34.998474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:35.002773"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:35.002773"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:35.003955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 87ms (ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.4ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:35.036287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (5.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 10.5ms | ActiveRecord: 0.9ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "notanemail"]] Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (13.2ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 18.2ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"notanemail", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (85.0ms) Rendered layouts/_navigation.html.erb (2.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 98ms (Views: 88.7ms | ActiveRecord: 0.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "notanemail"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (2.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (12.8ms) Rendered layouts/_navigation.html.erb (3.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 18.4ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (2.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (12.3ms) Rendered layouts/_navigation.html.erb (2.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 16.2ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (2.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (6.8ms) Rendered layouts/_navigation.html.erb (2.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (2.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (12.5ms) Rendered layouts/_navigation.html.erb (2.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 16.6ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (12.8ms) Rendered layouts/_navigation.html.erb (6.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (2.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (11.7ms) Rendered layouts/_navigation.html.erb (1.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 15.3ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:35.746991"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$nS6O9/urraGUbw6kaq.SF.ft3D.H0e/3gvi41vi0bv4yUw0fnTOY."], ["updated_at", "2014-11-14 22:21:35.746991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.0ms) Rendered layouts/_navigation.html.erb (2.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:35.780025"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:35.780025"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:35.781671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:35.812677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (3.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 8.6ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (11.7ms) Rendered layouts/_navigation.html.erb (1.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 16.2ms | ActiveRecord: 0.1ms) Started PUT "/users" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by Devise::RegistrationsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.3ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (2.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 77ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (5.4ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Devise::RegistrationsController#edit as HTML Completed 401 Unauthorized in 1ms Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (10.4ms) Rendered layouts/_navigation.html.erb (14.2ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 31ms (Views: 29.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:36.191226"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$kiTstVuKXkCVqeXEJMQiwu1cIDCwTdpUO2DMS38g6G8D1VP6xAXA."], ["updated_at", "2014-11-14 22:21:36.191226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.1ms) Rendered layouts/_navigation.html.erb (2.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:36.225038"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:36.225038"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:36.226460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:36.260010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (4.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 9.2ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (9.4ms) Rendered layouts/_navigation.html.erb (1.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 13.0ms | ActiveRecord: 0.1ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (4.7ms) Rendered layouts/_navigation.html.erb (68.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 83ms (Views: 76.3ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:36.419916"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:36.419916"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 19ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:36.467974"], ["expires_at", "2014-11-14 22:26:36.467321"], ["updated_at", "2014-11-14 22:21:36.467974"], ["value", "88270"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:36.637204"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:36.637204"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:36.641013"], ["updated_at", "2014-11-14 22:21:36.646728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (7.9ms) Rendered layouts/_navigation.html.erb (4.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 238ms (Views: 19.0ms | ActiveRecord: 2.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"88270"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "88270"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "88270"], ["created_at", "2014-11-14 22:21:36.706287"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:36.706287"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:36.709457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 110ms (ActiveRecord: 1.6ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (6.4ms) Rendered layouts/_navigation.html.erb (4.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 13.5ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.1ms) Rendered layouts/_navigation.html.erb (2.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:36.872573"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:36.874142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:36.905332"], ["expires_at", "2014-11-14 22:26:36.904781"], ["updated_at", "2014-11-14 22:21:36.905332"], ["value", "90041"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:36.914145"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:36.914145"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:36.916756"], ["updated_at", "2014-11-14 22:21:36.919847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (6.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 10.6ms | ActiveRecord: 1.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:37.031960"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$H7LvCl5CibJot03rre4PaeR2wuhzElRzakT336ojsEgVY3yDaqZ9e"], ["updated_at", "2014-11-14 22:21:37.031960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (10.6ms) Rendered layouts/_navigation.html.erb (2.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:37.065693"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:37.065693"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:37.067099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:37.099291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (6.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 11.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (10.8ms) Rendered layouts/_navigation.html.erb (5.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 24ms (Views: 18.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (4.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 10.0ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:37.197417"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:37.197417"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:37.285246"], ["expires_at", "2014-11-14 22:26:37.284697"], ["updated_at", "2014-11-14 22:21:37.285246"], ["value", "63825"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:37.294685"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:37.294685"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:37.297862"], ["updated_at", "2014-11-14 22:21:37.301541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (4.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 12.1ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"63825"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "63825"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "63825"], ["created_at", "2014-11-14 22:21:37.354436"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:37.354436"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:37.357233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 36ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (4.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 10.8ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.4ms) Rendered layouts/_navigation.html.erb (2.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:37.438199"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:37.439876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:37.539938"], ["expires_at", "2014-11-14 22:26:37.539353"], ["updated_at", "2014-11-14 22:21:37.539938"], ["value", "98023"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:37.550558"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:37.550558"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:37.553625"], ["updated_at", "2014-11-14 22:21:37.556910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (5.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 110ms (Views: 8.7ms | ActiveRecord: 1.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:37.608154"], ["expires_at", "2014-11-14 22:26:37.607302"], ["updated_at", "2014-11-14 22:21:37.608154"], ["value", "44730"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:37.622545"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:37.622545"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (5.4ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:37.626919"], ["updated_at", "2014-11-14 22:21:37.633719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (7.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 60ms (Views: 11.0ms | ActiveRecord: 7.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:37.676918"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$UBt1yHyklU/n3Ei63vATJ.TGx9thjGr4sXwn0pCfj4JLlUEp0iRBe"], ["updated_at", "2014-11-14 22:21:37.676918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (26.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (31.8ms) Rendered layouts/_navigation.html.erb (5.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 41ms (Views: 39.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:37.733247"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:37.733247"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:37.734593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:37.763257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (76.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 94ms (Views: 81.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (9.6ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 15.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (4.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 9.8ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:37.928864"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:37.928864"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:37.940704"], ["expires_at", "2014-11-14 22:26:37.940196"], ["updated_at", "2014-11-14 22:21:37.940704"], ["value", "78416"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:37.949550"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:37.949550"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:37.952095"], ["updated_at", "2014-11-14 22:21:37.955184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.1ms) Rendered layouts/_navigation.html.erb (5.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 12.1ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:37 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"78416"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "78416"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "78416"], ["created_at", "2014-11-14 22:21:37.998762"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:37.998762"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:38.001463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 28ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (75.0ms) Rendered layouts/_navigation.html.erb (5.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 92ms (Views: 82.2ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.0ms) Rendered layouts/_navigation.html.erb (2.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:38.164523"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:38.166054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 0.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:38.193185"], ["expires_at", "2014-11-14 22:26:38.192658"], ["updated_at", "2014-11-14 22:21:38.193185"], ["value", "84810"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:38.201789"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:38.201789"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:38.204379"], ["updated_at", "2014-11-14 22:21:38.207476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (5.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 35ms (Views: 8.2ms | ActiveRecord: 1.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:38.246014"], ["expires_at", "2014-11-14 22:26:38.245489"], ["updated_at", "2014-11-14 22:21:38.246014"], ["value", "80336"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:38.255029"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:38.255029"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:38.259318"], ["updated_at", "2014-11-14 22:21:38.264562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (12.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 49ms (Views: 16.2ms | ActiveRecord: 1.7ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:38.386403"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$wbTpCBDEf5pckLvLw.trkuYZuhqIE7682cTQc5sVfKXxeRT5y9eUS"], ["updated_at", "2014-11-14 22:21:38.386403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.6ms) Rendered layouts/_navigation.html.erb (2.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:38.420154"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:38.420154"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:38.422770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 17ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:38.456200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (4.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 9.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (9.8ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 14.8ms | ActiveRecord: 0.1ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 12ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (5.0ms) Rendered layouts/_navigation.html.erb (15.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 32ms (Views: 23.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:38.681354"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:38.681354"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 131ms (ActiveRecord: 1.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:38.701789"], ["expires_at", "2014-11-14 22:26:38.701193"], ["updated_at", "2014-11-14 22:21:38.701789"], ["value", "78219"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:38.738397"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:38.738397"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:38.741978"], ["updated_at", "2014-11-14 22:21:38.746934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.8ms) Rendered layouts/_navigation.html.erb (4.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 75ms (Views: 12.8ms | ActiveRecord: 2.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"78219"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "78219"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "78219"], ["created_at", "2014-11-14 22:21:38.792462"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:38.792462"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:38.795156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 26ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.0ms) Rendered layouts/_navigation.html.erb (4.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 10.7ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.2ms) Rendered layouts/_navigation.html.erb (2.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:38.883170"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:38.884734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 21ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 79ms (ActiveRecord: 0.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:38.982212"], ["expires_at", "2014-11-14 22:26:38.981660"], ["updated_at", "2014-11-14 22:21:38.982212"], ["value", "72561"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:38.991742"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:38.991742"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:38.994498"], ["updated_at", "2014-11-14 22:21:38.997883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (5.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 8.5ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 0.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:39.037708"], ["expires_at", "2014-11-14 22:26:39.037177"], ["updated_at", "2014-11-14 22:21:39.037708"], ["value", "77709"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:39.046355"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:39.046355"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:39.049972"], ["updated_at", "2014-11-14 22:21:39.056434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (2.3ms) Rendered layouts/_navigation.html.erb (5.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 10.5ms | ActiveRecord: 1.6ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:39.091179"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$p0rgFo.FqzjyZO/09MXVFeJsep/zRAJTQJqNDv09b7.woOmGweARe"], ["updated_at", "2014-11-14 22:21:39.091179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.7ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:39.124086"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:39.124086"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:39.125495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:39.156854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (75.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 96ms (Views: 80.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (10.5ms) Rendered layouts/_navigation.html.erb (1.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 14.2ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 14ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 9.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:39.324329"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:39.324329"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:39.337509"], ["expires_at", "2014-11-14 22:26:39.336771"], ["updated_at", "2014-11-14 22:21:39.337509"], ["value", "77923"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:39.350135"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:39.350135"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:39.355044"], ["updated_at", "2014-11-14 22:21:39.358135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (6.1ms) Rendered layouts/_navigation.html.erb (6.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 14.8ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"77923"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "77923"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "77923"], ["created_at", "2014-11-14 22:21:39.405354"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:39.405354"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:39.408065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 27ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (4.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 10.8ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.0ms) Rendered layouts/_navigation.html.erb (2.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:39.558302"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:39.559859"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 16ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:39.597509"], ["expires_at", "2014-11-14 22:26:39.596859"], ["updated_at", "2014-11-14 22:21:39.597509"], ["value", "64319"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:39.606254"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:39.606254"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:39.608782"], ["updated_at", "2014-11-14 22:21:39.611898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (5.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 9.0ms | ActiveRecord: 1.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:39.776758"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$l93GNI1y2Gy7GtLvq9CmS.rj5zdCWJ3MzGyikhBERTpNiY3RJ7E3."], ["updated_at", "2014-11-14 22:21:39.776758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.1ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:39.811164"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:39.811164"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:39.812614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:39.844969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 9.1ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (81.2ms) Rendered layouts/_navigation.html.erb (1.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 91ms (Views: 85.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (4.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 10.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:40.007781"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:40.007781"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:40.020124"], ["expires_at", "2014-11-14 22:26:40.019612"], ["updated_at", "2014-11-14 22:21:40.020124"], ["value", "24972"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:40.029081"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:40.029081"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:40.031615"], ["updated_at", "2014-11-14 22:21:40.034641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (4.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 12.0ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"24972"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "24972"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "24972"], ["created_at", "2014-11-14 22:21:40.078439"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:40.078439"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:40.081143"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 27ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (79.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 94ms (Views: 85.6ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (9.1ms) Rendered layouts/_navigation.html.erb (2.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 13.2ms | ActiveRecord: 0.1ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (1.9ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:40.236087"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PhOx265syV2iC8mXHxfO7.sNaq.uHfL7O4JtPWx/z0LI/PD/neUbO"], ["updated_at", "2014-11-14 22:21:40.236087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (4.0ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.3ms) Rendered layouts/_navigation.html.erb (2.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:40.298305"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:40.298305"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:40.299691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:40.329001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (4.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 8.8ms | ActiveRecord: 0.6ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:40.447892"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$RSNU1VrkPWCooN260QVAfu/DfNHZLscvEYt7UPHLyQMHboChprxyS"], ["updated_at", "2014-11-14 22:21:40.447892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.3ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (6.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (16.8ms) Rendered layouts/_navigation.html.erb (3.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:40.501096"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:40.501096"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:40.502448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:40.531047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 8.8ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (6.6ms) Rendered layouts/_navigation.html.erb (11.2ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 29ms (Views: 20.0ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:40.710151"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$QMvioJgUJWxp5qoPf0WGLucTfmdn1GOynDp6isHY/T8bWSddARMgi"], ["updated_at", "2014-11-14 22:21:40.710151"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (12.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (19.9ms) Rendered layouts/_navigation.html.erb (4.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 27.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:40.763077"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:40.763077"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:40.764444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:40.794236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 8.9ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (81.5ms) Rendered layouts/_navigation.html.erb (2.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 91ms (Views: 85.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (4.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 9.8ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:40.954886"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:40.954886"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:40.966885"], ["expires_at", "2014-11-14 22:26:40.966374"], ["updated_at", "2014-11-14 22:21:40.966885"], ["value", "63593"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:40.975746"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:40.975746"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:40.978269"], ["updated_at", "2014-11-14 22:21:40.981398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.0ms) Rendered layouts/_navigation.html.erb (5.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 12.6ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (2.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.5ms) Rendered layouts/_navigation.html.erb (2.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:41.049074"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:41.050638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (73.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 81ms (Views: 75.7ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:41.164317"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dcH3.HTL29GMsbozW7vsG.VDUMFRFQj8J9vkz0JzT71Uw.8GnYad."], ["updated_at", "2014-11-14 22:21:41.164317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (7.8ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 27ms (Views: 26.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (11.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (17.5ms) Rendered layouts/_navigation.html.erb (5.2ms) Rendered layouts/_messages.html.erb (0.7ms) Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:41.254531"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:41.254531"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:41.256089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 24ms (ActiveRecord: 2.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:41.307248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (5.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 10.8ms | ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (8.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (19.1ms) Rendered layouts/_navigation.html.erb (2.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 24.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:41.521563"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:41.522975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:41.569833"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5McptIwFBb82gTxxBRzBte1izDpYRqRE/GK/814/SL63OGWY1VJve"], ["updated_at", "2014-11-14 22:21:41.569833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (132.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (159.2ms) Rendered layouts/_navigation.html.erb (3.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 166ms (Views: 164.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:41.825346"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:41.825346"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:41.827046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:41.860595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.3ms) Rendered layouts/_navigation.html.erb (11.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 16.9ms | ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 5.4ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:42.055616"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$CeH7KAfmpZdjC9zMvnfbUOhLT0IOy8q9u0d9h.xYT4WcjMGBBeUSa"], ["updated_at", "2014-11-14 22:21:42.055616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (8.9ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (18.4ms) Rendered layouts/_navigation.html.erb (4.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:42.099306"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:42.099306"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:42.100704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 21ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:42.137238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (5.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 10.8ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (140.6ms) Rendered layouts/_navigation.html.erb (5.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 154ms (Views: 148.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 13ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (6.3ms) Rendered layouts/_navigation.html.erb (6.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 14.8ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:42.379635"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:42.379635"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 23ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:42.395272"], ["expires_at", "2014-11-14 22:26:42.394728"], ["updated_at", "2014-11-14 22:21:42.395272"], ["value", "12313"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:42.404255"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:42.404255"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:42.406938"], ["updated_at", "2014-11-14 22:21:42.410544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (7.4ms) Rendered layouts/_navigation.html.erb (8.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 18.8ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"12313"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "12313"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "12313"], ["created_at", "2014-11-14 22:21:42.462625"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:42.462625"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:42.465362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 27ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (5.5ms) Rendered layouts/_navigation.html.erb (4.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 11.8ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.5ms) Rendered layouts/_navigation.html.erb (4.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 11.2ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:42.646566"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2OUbW7eFqqDTSVPLBKSITuWvEexrW587SYeLuHV/fDaywpD0BQSyq"], ["updated_at", "2014-11-14 22:21:42.646566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (9.9ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (21.4ms) Rendered layouts/_navigation.html.erb (4.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 28.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:42.698779"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:42.698779"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:42.701371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:42.736625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (6.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 12.1ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (13.2ms) Rendered layouts/_navigation.html.erb (3.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 19.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.5ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 94ms (ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (7.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 21ms (Views: 13.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:42.932589"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:42.932589"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 19ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:42.946973"], ["expires_at", "2014-11-14 22:26:42.944900"], ["updated_at", "2014-11-14 22:21:42.946973"], ["value", "92367"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:42.959385"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:42.959385"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:42.962487"], ["updated_at", "2014-11-14 22:21:42.965704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.6ms) Rendered layouts/_navigation.html.erb (5.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 12.8ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:42 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"92367"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.5ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "92367"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "92367"], ["created_at", "2014-11-14 22:21:43.018020"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:43.018020"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:43.025385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 40ms (ActiveRecord: 1.9ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (4.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 10.4ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.6ms) Rendered layouts/_navigation.html.erb (4.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 107ms (Views: 11.6ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:43.214383"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FP4zzTBYrv742wdO3RlA3euO.ZODLO4RMaSz3M2F0CXOKaPussjmy"], ["updated_at", "2014-11-14 22:21:43.214383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (16.2ms) Rendered layouts/_navigation.html.erb (3.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 22.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:43.254538"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:43.254538"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:43.255893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:43.285310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (83.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 100ms (Views: 88.7ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (9.9ms) Rendered layouts/_navigation.html.erb (1.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 13.6ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 9.6ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:43.463907"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:43.463907"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:43.476951"], ["expires_at", "2014-11-14 22:26:43.476277"], ["updated_at", "2014-11-14 22:21:43.476951"], ["value", "06654"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:43.485740"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:43.485740"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:43.488269"], ["updated_at", "2014-11-14 22:21:43.491223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.4ms) Rendered layouts/_navigation.html.erb (4.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 11.9ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"06654"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "06654"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "06654"], ["created_at", "2014-11-14 22:21:43.534751"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:43.534751"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:43.538425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 32ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (5.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 99ms (Views: 11.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (23.6ms) Rendered layouts/_navigation.html.erb (5.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 30.7ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:43.739113"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$6Qp2DiUvohH2pAlJakatMuy.RLPJb0zZcdrcS7jJ.d6DgXoZZdpua"], ["updated_at", "2014-11-14 22:21:43.739113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.9ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.1ms) Rendered layouts/_navigation.html.erb (8.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:43.777868"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:43.777868"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:43.779344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:43.811955"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (10.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 34ms (Views: 16.3ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (17.5ms) Rendered layouts/_navigation.html.erb (2.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 21.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (5.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 10.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:43 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.3ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:44.003376"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:44.003376"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 22ms (ActiveRecord: 1.0ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:44.018564"], ["expires_at", "2014-11-14 22:26:44.017890"], ["updated_at", "2014-11-14 22:21:44.018564"], ["value", "57316"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:44.027503"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:44.027503"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:44.030071"], ["updated_at", "2014-11-14 22:21:44.033239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.5ms) Rendered layouts/_navigation.html.erb (5.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 13.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"57316"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "57316"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "57316"], ["created_at", "2014-11-14 22:21:44.082331"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:44.082331"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:44.085049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 30ms (ActiveRecord: 1.0ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (79.7ms) Rendered layouts/_navigation.html.erb (4.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 95ms (Views: 86.6ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/success Completed 302 Found in 13ms (ActiveRecord: 0.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (13.4ms) Rendered layouts/_navigation.html.erb (7.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 23.2ms | ActiveRecord: 0.2ms) Started POST "/authentication/disable" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::SettingsController#disable as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "gringotts_settings" WHERE "gringotts_settings"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/ Completed 302 Found in 19ms (ActiveRecord: 0.9ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (4.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 23ms (Views: 11.2ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:44.430268"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$JF5tSkZrZcOxcF48BGwREujDNSes38Z4gOPiMvLiAQKTDQR.vIxTG"], ["updated_at", "2014-11-14 22:21:44.430268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.2ms) Rendered layouts/_navigation.html.erb (5.5ms) Rendered layouts/_messages.html.erb (0.8ms) Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:44.467625"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:44.467625"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:44.469011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:44.499625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (4.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 9.5ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (9.0ms) Rendered layouts/_navigation.html.erb (1.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 12.6ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:44.678232"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$BWxXKxkc.jJSX9imKIShy.T0QkzkBdQxxMv72yyb88Zu6Zu.r0UeC"], ["updated_at", "2014-11-14 22:21:44.678232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (16.7ms) Rendered layouts/_navigation.html.erb (2.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 21.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:44.735004"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:44.735004"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:44.736385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:44.766380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (4.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 9.7ms | ActiveRecord: 0.6ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 14ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (15.4ms) Rendered layouts/_navigation.html.erb (6.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 24.0ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:44.959072"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$QzuyddGLm69h76QfvbuXb.Ob7UaSqIeA8GUsjX91msGTOyinTHTaa"], ["updated_at", "2014-11-14 22:21:44.959072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (19.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (27.2ms) Rendered layouts/_navigation.html.erb (6.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 39ms (Views: 37.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:45.018044"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:45.018044"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:45.019914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:45.052788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (7.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 12.1ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (6.4ms) Rendered layouts/_navigation.html.erb (6.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 15.1ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:45.217265"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$rGtZYtjPpdLAVKX.atXt0eOQIE0PAkQxL9oyvhb89KKC58oi57ANO"], ["updated_at", "2014-11-14 22:21:45.217265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (11.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (16.9ms) Rendered layouts/_navigation.html.erb (3.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:45.258040"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:45.258040"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:45.259696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:45.291381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (4.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 9.3ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (4.7ms) Rendered layouts/_navigation.html.erb (11.3ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 25ms (Views: 18.2ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"(406) 444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14064444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:45.391227"], ["phone_number", "14064444444"], ["updated_at", "2014-11-14 22:21:45.391227"], ["vault_id", 1]]  (1.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 55ms (ActiveRecord: 2.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:45.516563"], ["expires_at", "2014-11-14 22:26:45.515972"], ["updated_at", "2014-11-14 22:21:45.516563"], ["value", "70619"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:45.526173"], ["phone_number", "14064444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:45.526173"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:45.529262"], ["updated_at", "2014-11-14 22:21:45.534072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (6.0ms) Rendered layouts/_navigation.html.erb (4.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 122ms (Views: 13.0ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:45.569005"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FVMU2GP1a6AsNqzzxxBK.OAFJFg4Frd5MQvawkzARYkSjsLwB.Spy"], ["updated_at", "2014-11-14 22:21:45.569005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (12.2ms) Rendered layouts/_navigation.html.erb (9.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 23.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:21:45.630327"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:45.630327"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:45.631767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:21:45.661673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (5.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 10.5ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (10.6ms) Rendered layouts/_navigation.html.erb (2.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 14.9ms | ActiveRecord: 0.1ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 84ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (4.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 10.2ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:45.837619"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:45.837619"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 17ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:45.850106"], ["expires_at", "2014-11-14 22:26:45.849561"], ["updated_at", "2014-11-14 22:21:45.850106"], ["value", "41427"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:45.863741"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:45.863741"], ["vault_id", 2]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:45.868359"], ["updated_at", "2014-11-14 22:21:45.872593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (7.1ms) Rendered layouts/_navigation.html.erb (4.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 13.3ms | ActiveRecord: 2.0ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:45.917001"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2nMccJt5JfijnsRzbBSPOeYImIQAYn6TkA6eCaV0ViHNmNfggcjze"], ["updated_at", "2014-11-14 22:21:45.917001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (49.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (56.9ms) Rendered layouts/_navigation.html.erb (7.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:46.001451"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:46.001451"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:46.002929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 19ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:46.039418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (84.4ms) Rendered layouts/_navigation.html.erb (5.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 105ms (Views: 92.2ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.3ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (4.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 10.0ms | ActiveRecord: 0.4ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>""}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" IS NULL LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (8.3ms) Rendered layouts/_navigation.html.erb (10.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 54ms (Views: 21.4ms | ActiveRecord: 0.6ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (6.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:46.315094"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$r1zADI4bPY5t.EOmJnEjae7jKhUv3Ij/6omuUsxJC13HK2ctTt4W6"], ["updated_at", "2014-11-14 22:21:46.315094"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (11.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (115.7ms) Rendered layouts/_navigation.html.erb (4.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 123ms (Views: 121.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:46.466394"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:46.466394"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:46.470540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:46.501730"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (7.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 21.9ms | ActiveRecord: 0.9ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (4.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 9.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"12345"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (5.6ms) Rendered layouts/_navigation.html.erb (5.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 42ms (Views: 12.8ms | ActiveRecord: 0.8ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (4.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:46.799755"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Y/NAgfnsEu0P.PfrAl4zn.J5jIsume5e6GCZwSCXlAyZwZKkv/0Ru"], ["updated_at", "2014-11-14 22:21:46.799755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.9ms) Rendered layouts/_navigation.html.erb (3.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (1.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:46.839155"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:46.839155"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:46.843748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 22ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:46.886375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (8.7ms) Rendered layouts/_navigation.html.erb (10.4ms) Rendered layouts/_messages.html.erb (0.7ms) Completed 200 OK in 37ms (Views: 23.3ms | ActiveRecord: 0.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:46 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (109.2ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 121ms (Views: 114.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:47.080163"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:47.080163"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 19ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:47.095041"], ["expires_at", "2014-11-14 22:26:47.094281"], ["updated_at", "2014-11-14 22:21:47.095041"], ["value", "59870"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:47.108620"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:47.108620"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:47.112088"], ["updated_at", "2014-11-14 22:21:47.115964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.6ms) Rendered layouts/_navigation.html.erb (4.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 12.1ms | ActiveRecord: 1.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (2.9ms) Rendered layouts/_messages.html.erb (1.9ms) Completed 200 OK in 13ms (Views: 6.9ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:47.225828"], ["expires_at", "2014-11-14 22:26:47.217142"], ["updated_at", "2014-11-14 22:21:47.225828"], ["value", "91085"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:47.236510"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:47.236510"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.6ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:47.239442"], ["updated_at", "2014-11-14 22:21:47.242389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.3ms) Rendered layouts/_navigation.html.erb (4.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 12.1ms | ActiveRecord: 1.9ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:47.278932"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$fnD6JqI3WjtbSFuQhvYDZO1kORj1FaV9kEPcGNkqoeKSid42bxyUG"], ["updated_at", "2014-11-14 22:21:47.278932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (93.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (97.9ms) Rendered layouts/_navigation.html.erb (2.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 103ms (Views: 102.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:47.398357"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:47.398357"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:47.399774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:47.430864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 9.0ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (8.8ms) Rendered layouts/_navigation.html.erb (2.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 12.6ms | ActiveRecord: 0.1ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (10.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 16.3ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:47.525658"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:47.525658"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 17ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:47.539191"], ["expires_at", "2014-11-14 22:26:47.537697"], ["updated_at", "2014-11-14 22:21:47.539191"], ["value", "85280"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:47.548091"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:47.548091"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:47.550666"], ["updated_at", "2014-11-14 22:21:47.554175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (91.5ms) Rendered layouts/_navigation.html.erb (5.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 126ms (Views: 98.8ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"85280"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "85280"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "85280"], ["created_at", "2014-11-14 22:21:47.692235"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:47.692235"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:47.695230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 34ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (8.5ms) Rendered layouts/_navigation.html.erb (6.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 17.4ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (7.2ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (18.8ms) Rendered layouts/_navigation.html.erb (2.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 23.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:47.805864"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:47.807298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:47.836746"], ["expires_at", "2014-11-14 22:26:47.836205"], ["updated_at", "2014-11-14 22:21:47.836746"], ["value", "69115"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:47.845607"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:47.845607"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:47.848154"], ["updated_at", "2014-11-14 22:21:47.851193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (83.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 113ms (Views: 86.4ms | ActiveRecord: 1.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:47.972995"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$452oJNQn9NVJzC30r0cwtexo9ANc/2YFXc.OqLQ4HoGR/Z1.hRFMe"], ["updated_at", "2014-11-14 22:21:47.972995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:47 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (8.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (18.7ms) Rendered layouts/_navigation.html.erb (2.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 23.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:48.014593"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:48.014593"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:48.016150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.2ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:48.048814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 9.0ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (79.1ms) Rendered layouts/_navigation.html.erb (2.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 89ms (Views: 83.2ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (4.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 10.0ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:48.206659"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:48.206659"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:48.219151"], ["expires_at", "2014-11-14 22:26:48.218641"], ["updated_at", "2014-11-14 22:21:48.219151"], ["value", "68470"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:48.229181"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:48.229181"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:48.231881"], ["updated_at", "2014-11-14 22:21:48.235053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.7ms) Rendered layouts/_navigation.html.erb (5.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 41ms (Views: 13.0ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"68470"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "68470"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "68470"], ["created_at", "2014-11-14 22:21:48.285460"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:48.285460"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:48.288463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 28ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.1ms) Rendered layouts/_navigation.html.erb (82.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 97ms (Views: 88.4ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.0ms) Rendered layouts/_navigation.html.erb (2.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:48.448307"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:48.449824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 12ms (ActiveRecord: 0.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:48.480604"], ["expires_at", "2014-11-14 22:26:48.480051"], ["updated_at", "2014-11-14 22:21:48.480604"], ["value", "83086"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:48.489794"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:48.489794"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:48.492397"], ["updated_at", "2014-11-14 22:21:48.495563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (6.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 9.3ms | ActiveRecord: 1.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (83.9ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:48.623334"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$hc.ihaa56ZCta8lwhu21KuMNMRllVkp5H2CnZnKAEYHrtc8zkjBo6"], ["updated_at", "2014-11-14 22:21:48.623334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (8.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (13.4ms) Rendered layouts/_navigation.html.erb (3.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:48.659396"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:48.659396"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:48.660823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:48.697908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (4.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 9.5ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (13.5ms) Rendered layouts/_navigation.html.erb (2.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 17.6ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (5.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 10.8ms | ActiveRecord: 0.6ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:48.795781"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:48.795781"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:48.890061"], ["expires_at", "2014-11-14 22:26:48.889446"], ["updated_at", "2014-11-14 22:21:48.890061"], ["value", "80253"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:48.900093"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:48.900093"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:48.902899"], ["updated_at", "2014-11-14 22:21:48.906673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.9ms) Rendered layouts/_navigation.html.erb (5.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 52ms (Views: 13.1ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"80253"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "80253"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "80253"], ["created_at", "2014-11-14 22:21:48.954816"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:48.954816"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:48.958465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 31ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.5ms) Rendered layouts/_navigation.html.erb (4.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 10.9ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:48 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (2.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.9ms) Rendered layouts/_navigation.html.erb (2.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:49.047293"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:49.049333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 0.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:49.076092"], ["expires_at", "2014-11-14 22:26:49.075558"], ["updated_at", "2014-11-14 22:21:49.076092"], ["value", "44939"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:49.163871"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:49.163871"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:49.167146"], ["updated_at", "2014-11-14 22:21:49.170381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (5.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 116ms (Views: 9.1ms | ActiveRecord: 1.5ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:49.213726"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$y8aMvtQgL3yVaEjTSwL8juJRs6ddnVOxM5OoEWxEFLrdsBHvCL9OG"], ["updated_at", "2014-11-14 22:21:49.213726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (8.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (25.1ms) Rendered layouts/_navigation.html.erb (4.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 33ms (Views: 32.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:49.264090"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:49.264090"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:49.265483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:49.296235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (88.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 105ms (Views: 93.6ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:49.405645"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$nqXivuEhTgYmjA9Nt2HDmu7fkxWY9Ppdm8Dy517jCP.gZR61Zt/xK"], ["updated_at", "2014-11-14 22:21:49.405645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.1ms) Rendered layouts/_navigation.html.erb (2.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.2ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:21:49.445000"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:49.445000"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:49.447110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:21:49.479259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (7.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 12.9ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (11.9ms) Rendered layouts/_navigation.html.erb (3.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 17.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 9.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:49.654396"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:49.654396"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 21ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:49.668159"], ["expires_at", "2014-11-14 22:26:49.667157"], ["updated_at", "2014-11-14 22:21:49.668159"], ["value", "34877"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:49.677672"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:49.677672"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:49.680457"], ["updated_at", "2014-11-14 22:21:49.683782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.4ms) Rendered layouts/_navigation.html.erb (4.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 12.1ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:49.731403"], ["updated_at", "2014-11-14 22:21:49.731403"], ["vault_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 52ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:49.783185"], ["expires_at", "2014-11-14 22:26:49.782578"], ["updated_at", "2014-11-14 22:21:49.783185"], ["value", "84172"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:49.799034"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:49.799034"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:49.802198"], ["updated_at", "2014-11-14 22:21:49.805275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (7.3ms) Rendered layouts/_navigation.html.erb (9.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 65ms (Views: 20.3ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:49.887322"], ["updated_at", "2014-11-14 22:21:49.887322"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 54ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:49 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:49.916146"], ["expires_at", "2014-11-14 22:26:49.915502"], ["updated_at", "2014-11-14 22:21:49.916146"], ["value", "13553"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:49.931450"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:49.931450"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:49.939121"], ["updated_at", "2014-11-14 22:21:49.945425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.6ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (119.7ms) Rendered layouts/_navigation.html.erb (13.4ms) Rendered layouts/_messages.html.erb (0.4ms) Completed 200 OK in 187ms (Views: 136.6ms | ActiveRecord: 1.9ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:50.122133"], ["updated_at", "2014-11-14 22:21:50.122133"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 30ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:50.147033"], ["expires_at", "2014-11-14 22:26:50.146459"], ["updated_at", "2014-11-14 22:21:50.147033"], ["value", "87848"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:21:50.159982"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:50.159982"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:21:50.164144"], ["updated_at", "2014-11-14 22:21:50.167584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (10.0ms) Rendered layouts/_navigation.html.erb (16.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 73ms (Views: 28.9ms | ActiveRecord: 1.8ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:50.273301"], ["updated_at", "2014-11-14 22:21:50.273301"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 52ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:50.299558"], ["expires_at", "2014-11-14 22:26:50.298875"], ["updated_at", "2014-11-14 22:21:50.299558"], ["value", "77454"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 5], ["created_at", "2014-11-14 22:21:50.310631"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:50.310631"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 5 [["delivered_at", "2014-11-14 22:21:50.313576"], ["updated_at", "2014-11-14 22:21:50.316712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (6.6ms) Rendered layouts/_navigation.html.erb (4.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 13.4ms | ActiveRecord: 2.1ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:50.424194"], ["updated_at", "2014-11-14 22:21:50.424194"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 19ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:50.444134"], ["expires_at", "2014-11-14 22:26:50.443556"], ["updated_at", "2014-11-14 22:21:50.444134"], ["value", "65904"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 6], ["created_at", "2014-11-14 22:21:50.454723"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:50.454723"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 6 [["delivered_at", "2014-11-14 22:21:50.457448"], ["updated_at", "2014-11-14 22:21:50.463344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (5.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 12.9ms | ActiveRecord: 2.9ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:50.499589"], ["updated_at", "2014-11-14 22:21:50.499589"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 18ms (ActiveRecord: 0.6ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:50.516871"], ["expires_at", "2014-11-14 22:26:50.516331"], ["updated_at", "2014-11-14 22:21:50.516871"], ["value", "59859"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 7], ["created_at", "2014-11-14 22:21:50.525674"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:50.525674"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 7 [["delivered_at", "2014-11-14 22:21:50.528249"], ["updated_at", "2014-11-14 22:21:50.531287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.3ms) Rendered layouts/_navigation.html.erb (5.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 12.4ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:50.572812"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$k/pGE.lFhRhVa5mmh.naVOw4vsxEJuvpEhVRm.8BYaZz.Ys5dra12"], ["updated_at", "2014-11-14 22:21:50.572812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (18.0ms) Rendered layouts/_navigation.html.erb (2.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 22.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:50.716993"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:50.716993"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:50.718370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:50.750320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (4.9ms) Rendered layouts/_navigation.html.erb (8.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 16.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (9.7ms) Rendered layouts/_navigation.html.erb (2.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 14.2ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 13ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (6.4ms) Rendered layouts/_navigation.html.erb (8.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 16.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:50.858511"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:50.858511"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 17ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:50.870652"], ["expires_at", "2014-11-14 22:26:50.870122"], ["updated_at", "2014-11-14 22:21:50.870652"], ["value", "80988"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:50.882727"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:50.882727"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:50.885563"], ["updated_at", "2014-11-14 22:21:50.888486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.8ms) Rendered layouts/_navigation.html.erb (80.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 118ms (Views: 88.2ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:50 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"80988"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "80988"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "80988"], ["created_at", "2014-11-14 22:21:51.032528"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:51.032528"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:51.036118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 44ms (ActiveRecord: 1.6ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (7.3ms) Rendered layouts/_navigation.html.erb (5.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 15.2ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (11.2ms) Rendered layouts/_navigation.html.erb (10.2ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:51.144600"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:51.146028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 12ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:51.177862"], ["expires_at", "2014-11-14 22:26:51.177288"], ["updated_at", "2014-11-14 22:21:51.177862"], ["value", "81062"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:51.187764"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:51.187764"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:51.190330"], ["updated_at", "2014-11-14 22:21:51.194441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (6.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 9.1ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:51.325383"], ["updated_at", "2014-11-14 22:21:51.325383"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:51.335290') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 59ms (ActiveRecord: 2.5ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:51.377761"], ["expires_at", "2014-11-14 22:26:51.377145"], ["updated_at", "2014-11-14 22:21:51.377761"], ["value", "58845"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (1.5ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:51.390417"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:51.390417"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:51.394740"], ["updated_at", "2014-11-14 22:21:51.398084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (9.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 54ms (Views: 13.6ms | ActiveRecord: 3.0ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:51.443654"], ["updated_at", "2014-11-14 22:21:51.443654"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:51.447610') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 28ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:51.469028"], ["expires_at", "2014-11-14 22:26:51.468496"], ["updated_at", "2014-11-14 22:21:51.469028"], ["value", "52055"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:21:51.480894"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:51.480894"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:21:51.485204"], ["updated_at", "2014-11-14 22:21:51.488211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (9.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 13.4ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:51.543199"], ["updated_at", "2014-11-14 22:21:51.543199"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:51.547052') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:21:51.554689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 49ms (ActiveRecord: 1.5ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (5.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 21ms (Views: 9.4ms | ActiveRecord: 0.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (1.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:51.755496"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$UAe3WGQoqZpIvV/tN1X3wusIIygQMmF7s5cofqQjnWuzNadeo7/2C"], ["updated_at", "2014-11-14 22:21:51.755496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (13.9ms) Rendered layouts/_navigation.html.erb (2.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:51.803078"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:51.803078"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:51.804458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:51.839354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (5.8ms) Rendered layouts/_navigation.html.erb (13.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 38ms (Views: 21.9ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (14.7ms) Rendered layouts/_navigation.html.erb (2.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 18.7ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:51 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 99ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (6.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 12.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:52.059345"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:52.059345"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 21ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:52.074519"], ["expires_at", "2014-11-14 22:26:52.073983"], ["updated_at", "2014-11-14 22:21:52.074519"], ["value", "68989"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:52.085799"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:52.085799"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:52.089630"], ["updated_at", "2014-11-14 22:21:52.093125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (7.0ms) Rendered layouts/_navigation.html.erb (7.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 16.9ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"68989"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "68989"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "68989"], ["created_at", "2014-11-14 22:21:52.153383"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:52.153383"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (6.7ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:52.156345"]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 47ms (ActiveRecord: 9.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (14.4ms) Rendered layouts/_navigation.html.erb (5.0ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 32ms (Views: 22.2ms | ActiveRecord: 0.2ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (6.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (93.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (98.9ms) Rendered layouts/_navigation.html.erb (2.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 105ms (Views: 103.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:52.359678"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:52.361437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:52.396646"], ["expires_at", "2014-11-14 22:26:52.395427"], ["updated_at", "2014-11-14 22:21:52.396646"], ["value", "69806"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:52.407998"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:52.407998"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:52.410755"], ["updated_at", "2014-11-14 22:21:52.414583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (7.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 10.3ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:52.448665"], ["updated_at", "2014-11-14 22:21:52.448665"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:52.452019') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 23ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:52.469963"], ["expires_at", "2014-11-14 22:26:52.469420"], ["updated_at", "2014-11-14 22:21:52.469963"], ["value", "94670"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:52.478786"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:52.478786"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:52.481439"], ["updated_at", "2014-11-14 22:21:52.484509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (8.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 39ms (Views: 11.9ms | ActiveRecord: 1.3ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:52.520279"], ["updated_at", "2014-11-14 22:21:52.520279"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:52.523667') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 27ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:52.544375"], ["expires_at", "2014-11-14 22:26:52.543840"], ["updated_at", "2014-11-14 22:21:52.544375"], ["value", "38315"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:21:52.553283"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:52.553283"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:21:52.555889"], ["updated_at", "2014-11-14 22:21:52.559086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (98.3ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 130ms (Views: 101.6ms | ActiveRecord: 1.4ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:52.691933"], ["updated_at", "2014-11-14 22:21:52.691933"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:52.695945') [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:21:52.703106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 46ms (ActiveRecord: 2.7ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (6.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 8.3ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 0.1ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (25.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 27.4ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:52.835703"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2w1NQ8HVayj8HHBkgFQV1O//cFu.8wpe3ocei.rCuu2PHutwPJ6SS"], ["updated_at", "2014-11-14 22:21:52.835703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (11.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (33.4ms) Rendered layouts/_navigation.html.erb (10.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 46.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:52.990058"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:52.990058"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:52.992014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 18ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:53.034880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (11.2ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 31ms (Views: 16.2ms | ActiveRecord: 1.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (17.3ms) Rendered layouts/_navigation.html.erb (2.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 22.4ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 13ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (5.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 11.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:53.156083"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:53.156083"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 18ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:53.171494"], ["expires_at", "2014-11-14 22:26:53.170960"], ["updated_at", "2014-11-14 22:21:53.171494"], ["value", "62238"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:53.182366"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:53.182366"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:53.186905"], ["updated_at", "2014-11-14 22:21:53.191485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (9.5ms) Rendered layouts/_navigation.html.erb (91.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 139ms (Views: 103.6ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"62238"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "62238"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "62238"], ["created_at", "2014-11-14 22:21:53.339114"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:53.339114"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:53.341975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 50ms (ActiveRecord: 1.2ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (10.0ms) Rendered layouts/_navigation.html.erb (9.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 31ms (Views: 21.8ms | ActiveRecord: 0.3ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (4.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.9ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (13.7ms) Rendered layouts/_navigation.html.erb (2.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:53.457675"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:53.459027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 0.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:53.487537"], ["expires_at", "2014-11-14 22:26:53.486993"], ["updated_at", "2014-11-14 22:21:53.487537"], ["value", "60734"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:53.496173"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:53.496173"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:53.499759"], ["updated_at", "2014-11-14 22:21:53.503248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (8.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 41ms (Views: 11.9ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:53.628822"], ["updated_at", "2014-11-14 22:21:53.628822"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:53.634230') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 29ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:53.658460"], ["expires_at", "2014-11-14 22:26:53.657863"], ["updated_at", "2014-11-14 22:21:53.658460"], ["value", "97037"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:53.670268"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:53.670268"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:53.674842"], ["updated_at", "2014-11-14 22:21:53.678184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (5.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 49ms (Views: 8.7ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:53.720880"], ["updated_at", "2014-11-14 22:21:53.720880"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:53.724157') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 28ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:53.744547"], ["expires_at", "2014-11-14 22:26:53.744009"], ["updated_at", "2014-11-14 22:21:53.744547"], ["value", "69263"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:21:53.755288"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:53.755288"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:21:53.757985"], ["updated_at", "2014-11-14 22:21:53.761285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (9.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 12.1ms | ActiveRecord: 1.8ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:53.806195"], ["updated_at", "2014-11-14 22:21:53.806195"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:53.809348') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:21:53.815112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 31ms (ActiveRecord: 1.4ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (5.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 7.3ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 13ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:53 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (5.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 120ms (Views: 9.9ms | ActiveRecord: 0.2ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:54.047682"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$H/XSbWJP5exhLvxR4O1cmO7K7mkb.5WbqMkHKPqvsubtTqL3gSipq"], ["updated_at", "2014-11-14 22:21:54.047682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (12.6ms) Rendered layouts/_navigation.html.erb (2.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 17.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:54.085866"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:54.085866"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:54.087334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:54.119116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (9.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 13.8ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (12.9ms) Rendered layouts/_navigation.html.erb (83.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 105ms (Views: 98.6ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (7.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 21ms (Views: 13.3ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:54.307612"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:54.307612"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 20ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:54.324282"], ["expires_at", "2014-11-14 22:26:54.323738"], ["updated_at", "2014-11-14 22:21:54.324282"], ["value", "41241"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:54.336052"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:54.336052"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:54.339241"], ["updated_at", "2014-11-14 22:21:54.342240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (7.4ms) Rendered layouts/_navigation.html.erb (5.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 14.9ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"41241"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "41241"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "41241"], ["created_at", "2014-11-14 22:21:54.395057"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:54.395057"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.7ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:54.398196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 35ms (ActiveRecord: 1.8ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (6.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 21ms (Views: 13.1ms | ActiveRecord: 0.2ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.4ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.7ms) Rendered layouts/_navigation.html.erb (2.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 97ms (Views: 13.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:54.563317"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:54.565231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:54.597017"], ["expires_at", "2014-11-14 22:26:54.596461"], ["updated_at", "2014-11-14 22:21:54.597017"], ["value", "84578"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.3ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:54.609583"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:54.609583"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:54.612631"], ["updated_at", "2014-11-14 22:21:54.615922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (6.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 11.7ms | ActiveRecord: 1.8ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:54.651277"], ["updated_at", "2014-11-14 22:21:54.651277"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:54.654448') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 23ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:54.672851"], ["expires_at", "2014-11-14 22:26:54.672308"], ["updated_at", "2014-11-14 22:21:54.672851"], ["value", "82590"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:54.682236"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:54.682236"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:54.685362"], ["updated_at", "2014-11-14 22:21:54.690730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (8.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 46ms (Views: 13.7ms | ActiveRecord: 1.8ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:54.729214"], ["updated_at", "2014-11-14 22:21:54.729214"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:54.732468') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 22ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:54.751028"], ["expires_at", "2014-11-14 22:26:54.750482"], ["updated_at", "2014-11-14 22:21:54.751028"], ["value", "32534"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (73.8ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:21:54.835861"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:54.835861"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:21:54.838792"], ["updated_at", "2014-11-14 22:21:54.843165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (6.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 115ms (Views: 10.0ms | ActiveRecord: 75.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:54.887932"], ["updated_at", "2014-11-14 22:21:54.887932"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:54.891244') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:21:54.895782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 40ms (ActiveRecord: 1.4ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (5.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 7.8ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:54 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (5.8ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 17ms (Views: 7.9ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:55.023073"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$3reaDpDhmAxI2E/SPtfRx.rWRqyu7iAN.2CsyLn2G/cp3RlCP/vSq"], ["updated_at", "2014-11-14 22:21:55.023073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (11.2ms) Rendered layouts/_navigation.html.erb (3.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 100ms (Views: 98.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:55.143193"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:55.143193"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:55.144575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 18ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.9ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:55.179469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (4.5ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 24ms (Views: 10.4ms | ActiveRecord: 1.4ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (11.9ms) Rendered layouts/_navigation.html.erb (2.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 16.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (4.2ms) Rendered layouts/_navigation.html.erb (5.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 12.3ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:55.279967"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:55.279967"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 18ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:55.294260"], ["expires_at", "2014-11-14 22:26:55.293732"], ["updated_at", "2014-11-14 22:21:55.294260"], ["value", "99409"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:55.304947"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:55.304947"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:55.307873"], ["updated_at", "2014-11-14 22:21:55.310957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (96.2ms) Rendered layouts/_navigation.html.erb (8.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 137ms (Views: 107.6ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"99409"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "99409"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "99409"], ["created_at", "2014-11-14 22:21:55.454753"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:55.454753"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:55.457752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 31ms (ActiveRecord: 1.1ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.7ms) Rendered layouts/_navigation.html.erb (7.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 14.1ms | ActiveRecord: 0.2ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (10.4ms) Rendered layouts/_navigation.html.erb (2.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:55.541325"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:55.542751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:55.571220"], ["expires_at", "2014-11-14 22:26:55.570541"], ["updated_at", "2014-11-14 22:21:55.571220"], ["value", "12029"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:55.584599"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:55.584599"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:55.589175"], ["updated_at", "2014-11-14 22:21:55.592411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (100.9ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 142ms (Views: 106.5ms | ActiveRecord: 2.2ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:55.727771"], ["updated_at", "2014-11-14 22:21:55.727771"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:55.731159') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 27ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:55.751631"], ["expires_at", "2014-11-14 22:26:55.750992"], ["updated_at", "2014-11-14 22:21:55.751631"], ["value", "07724"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:55.761666"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:55.761666"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:55.764277"], ["updated_at", "2014-11-14 22:21:55.768478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (5.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 8.8ms | ActiveRecord: 1.5ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:55.815316"], ["updated_at", "2014-11-14 22:21:55.815316"], ["vault_id", 1]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:55.820068') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 40ms (ActiveRecord: 1.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:55.844541"], ["expires_at", "2014-11-14 22:26:55.843949"], ["updated_at", "2014-11-14 22:21:55.844541"], ["value", "22818"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:21:55.860756"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:55.860756"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:21:55.863706"], ["updated_at", "2014-11-14 22:21:55.866646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (9.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 58ms (Views: 12.7ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:55.916367"], ["updated_at", "2014-11-14 22:21:55.916367"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:55.921260') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:21:55.927665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 39ms (ActiveRecord: 1.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (8.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 10.9ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:55 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 118ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (5.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 7.2ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:56.169044"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/WnlSAJePz73GFGZrGkezOS62eUBQ7b71vGmlUT3TivQvtsTBSYo2"], ["updated_at", "2014-11-14 22:21:56.169044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (13.6ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 18.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:56.211579"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:56.211579"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:56.213934"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 30ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:56.264922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (4.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 9.7ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (87.2ms) Rendered layouts/_navigation.html.erb (2.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 98ms (Views: 92.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (4.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 9.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:56.436991"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:56.436991"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:56.449061"], ["expires_at", "2014-11-14 22:26:56.448544"], ["updated_at", "2014-11-14 22:21:56.449061"], ["value", "91513"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:56.458467"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:56.458467"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:56.461038"], ["updated_at", "2014-11-14 22:21:56.464034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.6ms) Rendered layouts/_navigation.html.erb (4.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 12.2ms | ActiveRecord: 1.2ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"91513"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 1], ["code_received", "91513"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "91513"], ["created_at", "2014-11-14 22:21:56.514104"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:56.514104"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 1 [["confirmed_at", "2014-11-14 22:21:56.517230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 39ms (ActiveRecord: 1.3ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (4.9ms) Rendered layouts/_navigation.html.erb (87.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 104ms (Views: 94.9ms | ActiveRecord: 0.2ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.6ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:56.686014"], ["sign_in_count", 2], ["updated_at", "2014-11-14 22:21:56.687532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 33ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:56.737825"], ["expires_at", "2014-11-14 22:26:56.737253"], ["updated_at", "2014-11-14 22:21:56.737825"], ["value", "00315"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:21:56.748165"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:56.748165"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:21:56.750834"], ["updated_at", "2014-11-14 22:21:56.755626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (8.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 11.1ms | ActiveRecord: 1.6ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:56.794894"], ["updated_at", "2014-11-14 22:21:56.794894"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:56.798819') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 30ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:56.829997"], ["expires_at", "2014-11-14 22:26:56.829381"], ["updated_at", "2014-11-14 22:21:56.829997"], ["value", "83870"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 3], ["created_at", "2014-11-14 22:21:56.841203"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:56.841203"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.7ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.3ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 3 [["delivered_at", "2014-11-14 22:21:56.845496"], ["updated_at", "2014-11-14 22:21:56.850041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (14.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 65ms (Views: 18.4ms | ActiveRecord: 3.0ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:56 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:56.995540"], ["updated_at", "2014-11-14 22:21:56.995540"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:56.999250') [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 33ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:57.026588"], ["expires_at", "2014-11-14 22:26:57.024507"], ["updated_at", "2014-11-14 22:21:57.026588"], ["value", "08457"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 4], ["created_at", "2014-11-14 22:21:57.039984"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:57.039984"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 4 [["delivered_at", "2014-11-14 22:21:57.043680"], ["updated_at", "2014-11-14 22:21:57.047184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/verify.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (7.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 11.3ms | ActiveRecord: 1.7ms) Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", "2014-11-14 22:21:57.083446"], ["updated_at", "2014-11-14 22:21:57.083446"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:51:57.087084') [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = ? WHERE "gringotts_vaults"."id" = 1 [["locked_at", "2014-11-14 22:21:57.092361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/locked Completed 302 Found in 31ms (ActiveRecord: 1.2ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (7.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 18ms (Views: 9.6ms | ActiveRecord: 0.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]] Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Redirected to http://www.example.com/authentication/verify Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/locked Filter chain halted as :ensure_not_locked rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/locked" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Gringotts::VerificationController#locked as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/locked.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (17.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 28ms (Views: 20.5ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:57.327201"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9mgTShsJh7JI660m2lL4ROyAZtB6aE.Xi3phj9N5z4i6tqq3o35A."], ["updated_at", "2014-11-14 22:21:57.327201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (29.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (36.2ms) Rendered layouts/_navigation.html.erb (7.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 46.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:57.396536"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:57.396536"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:57.397957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 20ms (ActiveRecord: 0.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:57.437794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (10.3ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 30ms (Views: 16.3ms | ActiveRecord: 0.6ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Filter chain halted as :require_gringotts rendered or redirected Completed 302 Found in 12ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (14.4ms) Rendered layouts/_navigation.html.erb (6.0ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 30ms (Views: 22.6ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:57.542352"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ED23zknTbxsq0ivuAxWz/.D9EU6DNIQQ5gVkLLW59IRnjZmuh235W"], ["updated_at", "2014-11-14 22:21:57.542352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (32.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (39.1ms) Rendered layouts/_navigation.html.erb (104.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 149ms (Views: 145.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:58.344407"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:58.344407"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:58.346019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 647ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.4ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 27ms (ActiveRecord: 1.0ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:58.393016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (6.1ms) Rendered layouts/_navigation.html.erb (21.5ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 47ms (Views: 30.6ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:58.445696"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2YZq.8/BlN6UNYetl0BWkerxuBPFK0N.fsezzPiQqi/pBHpBWU9aG"], ["updated_at", "2014-11-14 22:21:58.445696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (14.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (20.3ms) Rendered layouts/_navigation.html.erb (4.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 26.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:21:58.503137"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:58.503137"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:58.504628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 19ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:21:58.540591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (8.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 14.4ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (104.8ms) Rendered layouts/_navigation.html.erb (2.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 115ms (Views: 109.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (4.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 9.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:58.744697"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:58.744697"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 17ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:58.757439"], ["expires_at", "2014-11-14 22:26:58.756780"], ["updated_at", "2014-11-14 22:21:58.757439"], ["value", "15605"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:58.766833"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:58.766833"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:58.769427"], ["updated_at", "2014-11-14 22:21:58.773392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.3ms) Rendered layouts/_navigation.html.erb (8.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 16.1ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:58.829364"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$XUyQ3OL/gsAmxz/wmvQt.u2LgBM1dbpA4vVs5aMPYVN6KhaEsVMWq"], ["updated_at", "2014-11-14 22:21:58.829364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (6.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (16.2ms) Rendered layouts/_navigation.html.erb (2.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 20.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:58.871416"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:58.871416"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:58.953847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 93ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:58 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:58.985935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (4.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 9.2ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:59.010671"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jdAynQsUoBotRoizYRxLqeygCpefWyS62CBc00bBmuuWxPUkJcKrO"], ["updated_at", "2014-11-14 22:21:59.010671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.3ms) Rendered layouts/_navigation.html.erb (2.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.1ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:21:59.045201"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:59.045201"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:59.047303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.2ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:21:59.081996"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (6.9ms) Rendered layouts/_navigation.html.erb (7.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 17.2ms | ActiveRecord: 1.4ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (15.8ms) Rendered layouts/_navigation.html.erb (3.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 28ms (Views: 22.4ms | ActiveRecord: 0.1ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 88ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.6ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (15.7ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 30ms (Views: 21.5ms | ActiveRecord: 0.8ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:59.305734"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:59.305734"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 26ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:59.322041"], ["expires_at", "2014-11-14 22:26:59.321424"], ["updated_at", "2014-11-14 22:21:59.322041"], ["value", "01600"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:59.332212"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:59.332212"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:59.335043"], ["updated_at", "2014-11-14 22:21:59.338181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.5ms) Rendered layouts/_navigation.html.erb (18.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 58ms (Views: 26.5ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:59.502213"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$WR4xGShRXYIBR8JwtbdkKeHOBqgEnHqIsIEZvOK3VZMvfrGQtLnny"], ["updated_at", "2014-11-14 22:21:59.502213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.7ms) Rendered layouts/_navigation.html.erb (2.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:21:59.533895"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:59.533895"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:59.535321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:21:59.565658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (7.3ms) Rendered layouts/_navigation.html.erb (7.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 16.9ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:59.598635"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$TCcqybK7TvJmGtKW3HGxL.ObCDvBNeQk47MYFlN66A2rTXTPXTT5K"], ["updated_at", "2014-11-14 22:21:59.598635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.9ms) Rendered layouts/_navigation.html.erb (2.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.8ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:21:59.651631"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:21:59.651631"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:21:59.653333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 35ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 18ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:21:59.699967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (82.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 108ms (Views: 87.5ms | ActiveRecord: 1.0ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (16.0ms) Rendered layouts/_navigation.html.erb (2.9ms) Rendered layouts/_messages.html.erb (0.4ms) Completed 200 OK in 27ms (Views: 21.2ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (7.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 12.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:21:59.886652"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:21:59.886652"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 21ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:21:59.899954"], ["expires_at", "2014-11-14 22:26:59.899246"], ["updated_at", "2014-11-14 22:21:59.899954"], ["value", "30060"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:21:59.909072"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:21:59.909072"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:21:59.911692"], ["updated_at", "2014-11-14 22:21:59.917185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (4.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 12.2ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:21:59 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"30060"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 2], ["code_received", "30060"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "30060"], ["created_at", "2014-11-14 22:21:59.970602"], ["successful", "t"], ["updated_at", "2014-11-14 22:21:59.970602"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) UPDATE "gringotts_vaults" SET "confirmed_at" = ? WHERE "gringotts_vaults"."id" = 2 [["confirmed_at", "2014-11-14 22:21:59.973272"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/success Completed 302 Found in 142ms (ActiveRecord: 1.4ms) Started GET "/authentication/success" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Gringotts::VerificationController#success as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/success.html.erb within layouts/application (26.2ms) Rendered layouts/_navigation.html.erb (9.6ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 49ms (Views: 38.3ms | ActiveRecord: 0.2ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Attempt Load (0.2ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.9ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:00.208966"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$th0YXCBQ3AbxmqnGEV22.eOc54eP2njUbQkvX3fqmjBWUIQFkl9xK"], ["updated_at", "2014-11-14 22:22:00.208966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.9ms) Rendered layouts/_navigation.html.erb (3.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:22:00.240847"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:00.240847"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:00.242647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by HomeController#index as HTML User Load (6.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 112ms (ActiveRecord: 7.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:22:00.378263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (8.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 13.1ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (11.0ms) Rendered layouts/_navigation.html.erb (1.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 14.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 19ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (17.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 33ms (Views: 25.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:00.521413"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:22:00.521413"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 70ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:00.600521"], ["expires_at", "2014-11-14 22:27:00.599975"], ["updated_at", "2014-11-14 22:22:00.600521"], ["value", "45389"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:22:00.611810"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:00.611810"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:22:00.625195"], ["updated_at", "2014-11-14 22:22:00.630526"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (10.8ms) Rendered layouts/_navigation.html.erb (9.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 69ms (Views: 22.3ms | ActiveRecord: 1.7ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (6.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 162ms (Views: 126.0ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:00.934479"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ZQeCiTLdEtoWd2l/zA4jFu7uJ12LzS7Nq76KMret1JPnHSGJG3W9S"], ["updated_at", "2014-11-14 22:22:00.934479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (14.2ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (27.5ms) Rendered layouts/_navigation.html.erb (4.0ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 36ms (Views: 34.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:00 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:22:01.019700"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:01.019700"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:01.021320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 34ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (2.4ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 24ms (ActiveRecord: 2.9ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:22:01.067738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (4.3ms) Rendered layouts/_navigation.html.erb (117.5ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 137ms (Views: 124.1ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (49.3ms) Rendered layouts/_navigation.html.erb (25.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 98ms (Views: 89.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 21ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (11.7ms) Rendered layouts/_navigation.html.erb (7.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 56ms (Views: 21.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (3.0ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:01.411670"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:22:01.411670"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 24ms (ActiveRecord: 4.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:01.429423"], ["expires_at", "2014-11-14 22:27:01.428764"], ["updated_at", "2014-11-14 22:22:01.429423"], ["value", "51181"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:22:01.443986"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:01.443986"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:22:01.447499"], ["updated_at", "2014-11-14 22:22:01.450957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (37.6ms) Rendered layouts/_navigation.html.erb (11.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 101ms (Views: 51.1ms | ActiveRecord: 1.8ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (3.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 6.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/verify Completed 302 Found in 19ms (ActiveRecord: 0.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:01.580564"], ["expires_at", "2014-11-14 22:27:01.579995"], ["updated_at", "2014-11-14 22:22:01.580564"], ["value", "13269"], ["vault_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:22:01.823138"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:01.823138"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (3.8ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:22:01.838191"], ["updated_at", "2014-11-14 22:22:01.842166"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (2.6ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (14.6ms) Rendered layouts/_navigation.html.erb (6.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 337ms (Views: 23.9ms | ActiveRecord: 5.7ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:01.979811"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ENUeeMFdlyopNBs1KzWEwO5je.JoA2C2KYlCRzw.RGrP2hRu1olIi"], ["updated_at", "2014-11-14 22:22:01.979811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:01 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (16.1ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (32.8ms) Rendered layouts/_navigation.html.erb (5.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 60ms (Views: 39.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:22:02.116506"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:02.116506"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:02.117886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 49ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:02 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 29ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:02 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:22:02.164840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (6.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 13.0ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:22:02 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (26.3ms) Rendered layouts/_navigation.html.erb (2.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 30.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:22:02 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 146ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:22:02 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (5.5ms) Rendered layouts/_navigation.html.erb (51.6ms) Rendered layouts/_messages.html.erb (20.5ms) Completed 200 OK in 88ms (Views: 79.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:22:02 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (24.6ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (20.8ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:02.549501"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:22:02.549501"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 94ms (ActiveRecord: 46.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:02 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:02.608837"], ["expires_at", "2014-11-14 22:27:02.608279"], ["updated_at", "2014-11-14 22:22:02.608837"], ["value", "15347"], ["vault_id", 1]]  (8.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]]  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:22:02.639504"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:02.639504"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:22:02.652706"], ["updated_at", "2014-11-14 22:22:02.656164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 1]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (106.6ms) Rendered layouts/_navigation.html.erb (24.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 203ms (Views: 133.5ms | ActiveRecord: 10.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:02.877225"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$G84B8/COGFC6Hg8n6SnLkudYEsOlkVrHkpVrANlHIsFhR17ZBnEza"], ["updated_at", "2014-11-14 22:22:02.877225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:02 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (9.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (140.9ms) Rendered layouts/_navigation.html.erb (6.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 152ms (Views: 149.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:22:03.072773"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:03.072773"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:03.074474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 30ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:03 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 31ms (ActiveRecord: 0.7ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:03 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:22:03.140406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (41.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 82ms (Views: 55.0ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.7ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:03.236049"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$.MR6b2kYUjgZwWCqSoA6/.thWBN3mVX978wxRXSiXPxAObElyF6hu"], ["updated_at", "2014-11-14 22:22:03.236049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:03 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (6.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (13.4ms) Rendered layouts/_navigation.html.erb (2.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 18.2ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:22:03.301994"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:03.301994"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:03.303580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 21ms (ActiveRecord: 2.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:03 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 38ms (ActiveRecord: 1.3ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:03 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:22:03.370953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (5.3ms) Rendered layouts/_navigation.html.erb (8.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 15.8ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:22:03 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (49.9ms) Rendered layouts/_navigation.html.erb (8.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 527ms (Views: 70.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:22:03 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 34ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (40.1ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 69ms (Views: 47.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:04.144930"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:22:04.144930"], ["vault_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 45ms (ActiveRecord: 1.1ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (11.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:04.235305"], ["expires_at", "2014-11-14 22:27:04.231915"], ["updated_at", "2014-11-14 22:22:04.235305"], ["value", "65256"], ["vault_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (1.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:22:04.337442"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:04.337442"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:22:04.340559"], ["updated_at", "2014-11-14 22:22:04.346477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (12.6ms) Rendered layouts/_navigation.html.erb (15.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 229ms (Views: 38.0ms | ActiveRecord: 13.9ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>""}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 31ms (ActiveRecord: 0.5ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:04.458028"], ["expires_at", "2014-11-14 22:27:04.457438"], ["updated_at", "2014-11-14 22:22:04.458028"], ["value", "18499"], ["vault_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:22:04.494474"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:04.494474"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:22:04.498207"], ["updated_at", "2014-11-14 22:22:04.504382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (9.4ms) Rendered layouts/_navigation.html.erb (8.5ms) Rendered layouts/_messages.html.erb (2.2ms) Completed 200 OK in 210ms (Views: 26.8ms | ActiveRecord: 3.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.3ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? [["vault_id", 2]]  (1.5ms) rollback transaction  (1.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:04.721073"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$N18VTrJNY0N1kr8ESTXGvevJdE.rrEnaaQyDNksZ5VQEMHb4ZG/Vi"], ["updated_at", "2014-11-14 22:22:04.721073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (6.9ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (12.8ms) Rendered layouts/_navigation.html.erb (9.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 29ms (Views: 28.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:22:04.768071"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:04.768071"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:04.769485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 90ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:22:04.876996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (4.8ms) Rendered layouts/_navigation.html.erb (5.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 12.5ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:04.908199"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$IbEjl1qv85x.sDcC4PeXtuBEzBhcQ/irAKX1IDof0CkN.GK.cRtVa"], ["updated_at", "2014-11-14 22:22:04.908199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.6ms) Rendered layouts/_navigation.html.erb (2.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 13.6ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:22:04.954354"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:04.954354"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:04.955829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:04 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:22:04.987416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (6.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 11.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (10.6ms) Rendered layouts/_navigation.html.erb (1.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 15.1ms | ActiveRecord: 0.1ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (5.7ms) Rendered layouts/_navigation.html.erb (184.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 199ms (Views: 192.4ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:05.275011"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:22:05.275011"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 26ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:05.292423"], ["expires_at", "2014-11-14 22:27:05.291889"], ["updated_at", "2014-11-14 22:22:05.292423"], ["value", "39557"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:22:05.303272"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:05.303272"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:22:05.306343"], ["updated_at", "2014-11-14 22:22:05.309405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (8.0ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 14.1ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"asdf"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "asdf"], ["created_at", "2014-11-14 22:22:05.361800"], ["updated_at", "2014-11-14 22:22:05.361800"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 22ms (ActiveRecord: 0.7ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:05.393990"], ["expires_at", "2014-11-14 22:27:05.393418"], ["updated_at", "2014-11-14 22:22:05.393990"], ["value", "18092"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:22:05.405182"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:05.405182"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:22:05.407969"], ["updated_at", "2014-11-14 22:22:05.410893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.2ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (6.9ms) Rendered layouts/_navigation.html.erb (4.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 49ms (Views: 13.4ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:05.614933"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$6s4pKFanpXfrR2f.Hs2IuezNNNjA3NN3bNZeOzYP61gAn4sEQJiZW"], ["updated_at", "2014-11-14 22:22:05.614933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.9ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.0ms) Rendered layouts/_navigation.html.erb (11.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 22.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:22:05.738676"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:05.738676"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:05.740089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 25ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:05 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.3ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:22:05.813763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (6.4ms) Rendered layouts/_navigation.html.erb (18.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 207ms (Views: 27.9ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (2.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:06.009939"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Mez0jmwUUGfo.KYub/5HKuG0chRxkX4.K/ySC3v3XuZ2pasdrbgha"], ["updated_at", "2014-11-14 22:22:06.009939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (6.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (43.4ms) Rendered layouts/_navigation.html.erb (2.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 66ms (Views: 52.4ms | ActiveRecord: 0.3ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:22:06.105210"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:06.105210"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:06.107111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 30ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:22:06.167720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (11.7ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 60ms (Views: 39.2ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (20.1ms) Rendered layouts/_navigation.html.erb (4.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 30.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 37ms (ActiveRecord: 0.2ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (7.1ms) Rendered layouts/_navigation.html.erb (12.4ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 36ms (Views: 22.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.4ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.2ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:06.511887"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:22:06.511887"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 40ms (ActiveRecord: 2.4ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:06.561796"], ["expires_at", "2014-11-14 22:27:06.561140"], ["updated_at", "2014-11-14 22:22:06.561796"], ["value", "73386"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:22:06.575519"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:06.575519"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:22:06.579447"], ["updated_at", "2014-11-14 22:22:06.582883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (9.3ms) Rendered layouts/_navigation.html.erb (9.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 75ms (Views: 21.4ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "gringotts_codes" SET "expires_at" = ?, "updated_at" = ? WHERE "gringotts_codes"."id" = 1 [["expires_at", "2014-11-14 21:52:06.643747"], ["updated_at", "2014-11-14 22:22:06.645361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"73386"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "73386"], ["created_at", "2014-11-14 22:22:06.705112"], ["updated_at", "2014-11-14 22:22:06.705112"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 58ms (ActiveRecord: 0.8ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:06 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:06.737757"], ["expires_at", "2014-11-14 22:27:06.737113"], ["updated_at", "2014-11-14 22:22:06.737757"], ["value", "02976"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (1.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:22:06.769065"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:06.769065"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:22:06.774271"], ["updated_at", "2014-11-14 22:22:06.779891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (12.6ms) Rendered layouts/_navigation.html.erb (163.9ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 250ms (Views: 179.1ms | ActiveRecord: 2.8ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:07.048032"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$QCCuCUapbvc6KBrFX9tNPeM0WZsEONrQp1O1fUf4IWmxU/3opkc06"], ["updated_at", "2014-11-14 22:22:07.048032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (8.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (138.4ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 145ms (Views: 143.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2014-11-14 22:22:07.216407"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:07.216407"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:07.219177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 2], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 22ms (ActiveRecord: 0.8ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 2], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.2ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 1 [["prompt_seen_at", "2014-11-14 22:22:07.261351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (4.7ms) Rendered layouts/_navigation.html.erb (6.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 15.3ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:07.303318"], ["email", "example@example.com"], ["encrypted_password", "$2a$04$VoZUkwHSNkQRnixXqKGuiOKsSrMEtGfX6o7T5xX17NO9GlAN7AbW2"], ["updated_at", "2014-11-14 22:22:07.303318"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]] Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (35.0ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (44.4ms) Rendered layouts/_navigation.html.erb (3.1ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 54ms (Views: 50.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "example@example.com"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["current_sign_in_at", "2014-11-14 22:22:07.405445"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-14 22:22:07.405445"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-14 22:22:07.419813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 53ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (1.9ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("owner_id", "owner_type") VALUES (?, ?) [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Filter chain halted as :gringotts_protego! rendered or redirected Completed 302 Found in 29ms (ActiveRecord: 2.5ms) Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.7ms) SAVEPOINT active_record_1 Gringotts::Vault Exists (0.1ms) SELECT 1 AS one FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = ? WHERE "gringotts_vaults"."id" = 2 [["prompt_seen_at", "2014-11-14 22:22:07.480120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (5.5ms) Rendered layouts/_navigation.html.erb (16.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 24.1ms | ActiveRecord: 1.3ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Rendered devise/registrations/edit.html.erb within layouts/application (24.0ms) Rendered layouts/_navigation.html.erb (4.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 136ms (Views: 127.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Redirected to http://www.example.com/authentication/setup Completed 302 Found in 18ms (ActiveRecord: 0.3ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (5.4ms) Rendered layouts/_navigation.html.erb (9.2ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 16.8ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Settings Exists (0.1ms) SELECT 1 AS one FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["created_at", "2014-11-14 22:22:07.749581"], ["phone_number", "14444444444"], ["updated_at", "2014-11-14 22:22:07.749581"], ["vault_id", 2]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 30ms (ActiveRecord: 1.3ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:07.779567"], ["expires_at", "2014-11-14 22:27:07.778945"], ["updated_at", "2014-11-14 22:22:07.779567"], ["value", "72740"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", "2014-11-14 22:22:07.792219"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:07.792219"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 1 [["delivered_at", "2014-11-14 22:22:07.795147"], ["updated_at", "2014-11-14 22:22:07.801817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (18.7ms) Rendered layouts/_navigation.html.erb (17.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 91ms (Views: 38.8ms | ActiveRecord: 2.1ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "72740"], ["created_at", "2014-11-14 22:22:07.873657"], ["successful", "t"], ["updated_at", "2014-11-14 22:22:07.873657"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"72740"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? AND "gringotts_attempts"."code_received" = ? AND "gringotts_attempts"."successful" = 't' [["vault_id", 2], ["code_received", "72740"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "updated_at", "vault_id") VALUES (?, ?, ?, ?) [["code_received", "72740"], ["created_at", "2014-11-14 22:22:07.962571"], ["updated_at", "2014-11-14 22:22:07.962571"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 63ms (ActiveRecord: 0.9ms) Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:22:07 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 3]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Settings Load (0.0ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = ? LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-11-14 22:22:07.997456"], ["expires_at", "2014-11-14 22:27:07.996893"], ["updated_at", "2014-11-14 22:22:07.997456"], ["value", "74400"], ["vault_id", 2]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (1.1ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", "2014-11-14 22:22:08.150776"], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", "2014-11-14 22:22:08.150776"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] SQL (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = ?, "updated_at" = ? WHERE "gringotts_deliveries"."id" = 2 [["delivered_at", "2014-11-14 22:22:08.155448"], ["updated_at", "2014-11-14 22:22:08.162058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]] Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (8.9ms) Rendered layouts/_navigation.html.erb (13.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 222ms (Views: 25.7ms | ActiveRecord: 2.9ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Attempt Load (0.1ms) SELECT "gringotts_attempts".* FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = ? ORDER BY "gringotts_attempts"."id" DESC LIMIT 1 [["vault_id", 2]] Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = ? AND "gringotts_vaults"."owner_type" = ? ORDER BY "gringotts_vaults"."id" ASC LIMIT 1 [["owner_id", 3], ["owner_type", "User"]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = ? ORDER BY "gringotts_codes"."id" DESC LIMIT 1 [["vault_id", 2]]  (11.8ms) rollback transaction  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$xQ/sqLiuQ7yILP2zqtcWIeY3SIV5kHqvIeEYbboLK2BYCBk7uxUVS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00]]  (1.0ms) DELETE FROM "gringotts_attempts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_attempts';  (0.9ms) DELETE FROM "gringotts_codes";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_codes';  (0.9ms) DELETE FROM "gringotts_deliveries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_deliveries';  (1.6ms) DELETE FROM "gringotts_settings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'gringotts_settings';  (1.0ms) DELETE FROM "gringotts_vaults";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'gringotts_vaults';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.6ms) DELETE FROM sqlite_sequence where name = 'users'; Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:23:24.886762' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$HPt.thwtOBqekDk6J8kBd.qPEtMWAPiFP91tSILpz2DvZgqI/8gXK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:23:24.923564' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = NULL WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5MvLsIl342yKimNUEhOWy..695YZco.PdGg7RU334lDU3O8ZKdaLq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:24 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["value", "49184"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.7ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qp7wPIb.IUZPLXvhWD5pweWCuWb8mEyWF84PS/vMi8QkEjr9w5Nda"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '18005551212' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = '18005551212', "updated_at" = '2014-11-14 22:23:25.011567' WHERE "gringotts_settings"."id" = 1 Gringotts::Vault Load (0.7ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5y8huSfnHnIZgyJ.FzHFk.eGvbJHZ0.dlMA/ehb81brfKvwlNOuFK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:23:25.046733' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$iq1wWsja2bpJ3Htru6mLhuFvKuB4XokgX7YoOQNYszB/YnL9fyPPG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.6ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$W5VuHAO7VLKM13UCIF.vo.nzzw9zJsjWJQA7WvrIi2aoMpabzULgy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.3ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 22:23:25.105035' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ycXGBWTCLN5R8xN63x0oAe.tgLurqzv2GyYU9IUcKUTjRyqSJz732"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$2sSUNMkT50pCFx2KAmCqGuZZzdbC/LWVsBOZP3l1tklvyGbQIUMf."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (1.1ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "locked_at" = '2014-11-14 21:53:25.160582' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$c3dPLzYVHySZSRP3o/bf.ed5551GWqC8fM0S6qga.5Q5BxsBnHdyu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0omq7s0PNStcJb3ClRylUu5aDP8txI3Un2eK/3t5cWM6FsLc20jYW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "42600"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$xtXiXzKVsRtbUA8GPNlMWOTZ1NjDaEk0tVSZMoxqcqgVnTe2IZs1."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1haGS1.7.3pQVqa3aUNxre1tnUot5w.8eO2lygr36UH2JvSxSB/Nu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:23:25.360426' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.5ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1OtjAhx2uv02LFES4jTZK.7PHAM.TFuvzkdpYOpEnrmoRQonX5Xi."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.2ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (1.6ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$sNWjSgXWSayalwi9MU6tLO06oSNo8ZbwVmId2P6lP3b9P.ssN3kSm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:23:25.422494' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$R0efjIhqxQOLLtuMS6ekju0TAbmdram/yOwqcar8ckWo2cokGvcQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "98086"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$serqxMC7dV/Vr55oRrbnAebPekHX3Kl4k8ZjLwCewG9yZVcGCGyt6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jGhLMoO/GIqq0jlkMKh3SelzVLuOUsfU.Rcr2azzszqutJy1d2osm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dy5DLYxDM8l24BoJZi8EhOAfI1VRdZVOomRnvR/f97q34Mwx6CMUq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (1.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:23:25.523497' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:53:25.544593')  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$REi4tOdQkYavrPRDmJiRB.sMHQCzwdH6yOhh.Osqh7jrMzuLGCc5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.8ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FlRpsg9zM1Mykg8jvPosRe20vPXOPt.uO2gfkZFLv0kIMcAke30wi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$8QEXOKCbhcdypgWD8zf/Muit8CzOeunL24khvrOoaoooVrvGE6wx2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.8ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:23:25.616809' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."successful" = 'f' AND (created_at > '2014-11-14 21:53:25.627125')  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$n/DHOvi1KmGdpioxirA97ezoK/KSq3KnAhntdth1z3FPLL5S3Xyke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$GZkR/VwTiH/m9IpANtfKwOS0YtmyDrFv/dvbsk.kSy2NE193GhVKm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$EhVWg90w2ljxfsoYqydRPO/VhdYNlQughErznU/8DB1nZYjSRRo/a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:23:25.686049' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "54107"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "54107"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" IS NULL AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" IS NULL) LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "92385"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "17447"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 Gringotts::Vault Load (0.7ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "53808"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "53808"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "30319"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:53:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "74772"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "74772"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (2.0ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "07680"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "07680"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "19828"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:53:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "71837"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "71837"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "86934"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "86934"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "40705"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:53:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "17068"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "17068"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "77148"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "77148"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "19776"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:53:25 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["value", "38457"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "38457"], ["created_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:25 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "65354"], ["vault_id", 1]]  (71.7ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "65354"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "81941"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:53:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "18102"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "18102"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "46379"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "46379"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "67879"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "71446"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "71446"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "71446"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '71446' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (2.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "57990"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "57990"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "52758"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "11342"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "11342"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "11342"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '57990' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "09947"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "09947"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "10103"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "03339"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "03339"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "03339"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "27571"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "27571"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "70876"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "34648"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "34648"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "34648"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '34648' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "03039"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "03039"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "13663"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "29434"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "29434"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "29434"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '29434' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "58742"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "58742"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "94557"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "23535"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "23535"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (1.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "02549"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "02549"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "14013"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "47732"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "47732"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "19985"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "23416"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "23416"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "09044"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "87956"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "87956"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "24776"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "24776"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "75991"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "05458"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "05458"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '05458' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (1.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "58255"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "58255"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "70625"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "40244"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "40244"], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '40244' AND "gringotts_attempts"."successful" = 't' Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "97364"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "50491"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "66574"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:26.397875', "updated_at" = '2014-11-14 22:23:26.398656' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (6.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "53890"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "45836"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:26.440333', "updated_at" = '2014-11-14 22:23:26.441217' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "94173"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:26.457032', "updated_at" = '2014-11-14 22:23:26.457861' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "46099"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TestStubStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (1.0ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "73923"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "14754"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = 'Error message from ErrorRaisingStrategy', "updated_at" = '2014-11-14 22:23:26.517599' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "69714"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = 'Error message from ErrorRaisingStrategy', "updated_at" = '2014-11-14 22:23:26.534489' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "08996"], ["vault_id", 1]] Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::ErrorRaisingStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "error_message" = 'Error message from ErrorRaisingStrategy', "updated_at" = '2014-11-14 22:23:26.551218' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.3ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "36768"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "92901"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$RHh.WjHi9joGG5AgnTReK.n.hD7im9V7G.Eqg0FKpZwS9kAeNzqCy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@foo.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'the_user@foo.bar.org' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'first.last@foo.jp' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$nVinF6aNy5cHpMdXaFm8AeXG6uLD4eXcln2DUgYMa0ayQJ7o/2Z5m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$TujY4FUMIzYEPPb4U4c/culFwk/aDNurs5dlOJN8cFA9eiEPPUPS6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@foo,com' LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_at_foo.org' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example.user@foo.' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$4NQkNX9Ca0ubTAKoHENbge/vHSOz.RHMOSt6BRxgVleQNhuzT90Sa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user@example.com"], ["encrypted_password", "$2a$04$vd2rAJK3d86gzBXQp1Mp5OOeDCzkOwTteCWggTYgWcIk9SZkTTblS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.2ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '41441112233' LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (4.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "confirmed_at" = '2014-11-14 22:23:26.863692' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '15555555555' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) UPDATE "gringotts_settings" SET "phone_number" = '15555555555', "updated_at" = '2014-11-14 22:23:26.873243' WHERE "gringotts_settings"."id" = 1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.3ms) UPDATE "gringotts_vaults" SET "confirmed_at" = NULL WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "04240"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "89660"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "99237"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "84713"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "30845"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "32819"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "29178"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "09590"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "14180"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "94277"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "25941"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.4ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Sun, 14 Dec 2014 22:23:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "41826"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 21:53:26 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:26 UTC +00:00], ["value", "43958"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 1], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 1 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '' LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/zwp107nht/sbFjXBkJEp.z9S10AWBnO2.RZfB8sp/DAg88todMtO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:33 UTC +00:00]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (2.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (23.0ms) Rendered layouts/_navigation.html.erb (1.7ms) Rendered layouts/_messages.html.erb (0.5ms) Completed 200 OK in 46ms (Views: 43.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Completed 401 Unauthorized in 3ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Ghq/OOk2aAAKCVm./mr./uNAUf.LZDS3dY1SMa3LFoXsBl5Efgllu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:33 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 2ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:33 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.7ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:23:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:33.805878', "current_sign_in_at" = '2014-11-14 22:23:33.805878', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:33.806430' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 27ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 18ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:33 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:33.889389' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 8.4ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:33 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) User Load (4.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PWeHPzE/yozTwCsH3XE6VuCvVnsMbF/niFWaiKGCOdQ.BaLxaeG6a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (5.0ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'wrong@example.com' LIMIT 1 Completed 401 Unauthorized in 2ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wrong@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (5.4ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$zLUJ91HFJ6ZSuaSPNYmXh.RufzzXVKEzPNlGp.1NDvvWuwQGaODve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Completed 401 Unauthorized in 3ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (5.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$VhgrwJVS2MC7/m4OEhheAOjiVBYUaB4F4Fmp1aG48ybhxMn4BxYMi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:34.484786', "current_sign_in_at" = '2014-11-14 22:23:34.484786', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:34.485148' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:34.501002' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.4ms | ActiveRecord: 0.9ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 4ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (1.3ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.8ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$t6p2SPaE.tS4U0MjMjP.eujT.DahBjxiC9kzgWw.oCePP1DHvibai"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:34.683409', "current_sign_in_at" = '2014-11-14 22:23:34.683409', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:34.683732' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by HomeController#index as HTML User Load (1.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 7ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:34.702376' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 3.6ms | ActiveRecord: 0.8ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"notanemail", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (6.4ms) Rendered layouts/_navigation.html.erb (1.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.1ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'notanemail' LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) Rendered layouts/_navigation.html.erb (8.0ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.8ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:23:34 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (4.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 2ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.3ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_up" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/registrations/new.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 4.8ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$x9PbS0XpS9Yhlju44t.dce.uWG3oVbdKBgLZ.F/YbzzJeRWdZFufS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:35.259145', "current_sign_in_at" = '2014-11-14 22:23:35.259145', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:35.259592' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:35.271618' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.3ms) Started PUT "/users" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#edit as HTML Completed 401 Unauthorized in 0ms Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$bnWORDIl3Fs3tN6ydP1w/OWCZqDiSmFWDGBYp.NwkEyEOTVsyAROa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:35.482751', "current_sign_in_at" = '2014-11-14 22:23:35.482751', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:35.483107' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.4ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:35.505607' WHERE "gringotts_vaults"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.5ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["value", "75073"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:35.663829', "updated_at" = '2014-11-14 22:23:35.664785' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 54ms (Views: 9.4ms | ActiveRecord: 2.7ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"75073"}, "commit"=>"Verify Code"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "75073"], ["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '75073' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 13ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Ju2UQFm1.xMoviBRIkpjLuXOfoXH5ZMzsJhnyX1THgdw6nQUWNv4u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:35.792521', "current_sign_in_at" = '2014-11-14 22:23:35.792521', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:35.792883' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:35.805670' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (13.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 15.2ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:35 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["value", "64998"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.4ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:35.864917', "updated_at" = '2014-11-14 22:23:35.865832' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.4ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (2.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 4.0ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"64998"}, "commit"=>"Verify Code"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "64998"], ["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '64998' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 8ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$719H4wWAwP/pGch9MD7R0uY4cXzpyHhEOquF6akKsz93eJfjb1B12"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (1.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:35.925264', "current_sign_in_at" = '2014-11-14 22:23:35.925264', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:35.925642' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 7ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:35.943363' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:35 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["value", "25727"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:36.055329', "updated_at" = '2014-11-14 22:23:36.056276' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.6ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"25727"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "25727"], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '25727' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1umYQi.CNPktzV/kk8oTNOSIXkA5qSVhYuKuZyn5QXSKwEnFsu6q6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:36.103801', "current_sign_in_at" = '2014-11-14 22:23:36.103801', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:36.104346' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (1.7ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 15ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:36.128789' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (4.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["value", "29962"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:36.174013', "updated_at" = '2014-11-14 22:23:36.175168' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"29962"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "29962"], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '29962' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$GlPfNpoAQbq2dg11Xk1gou7kCQ40kCBns/xdEKNY4ebL6cBQyVuI."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:36.292970', "current_sign_in_at" = '2014-11-14 22:23:36.292970', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:36.293406' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:36.305352' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["value", "79479"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:36.348356', "updated_at" = '2014-11-14 22:23:36.349453' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"79479"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "79479"], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '79479' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$29cmLO.jXTkUYN1wnCQw4ud.XtSS2ytqoWxObZtLo6fBvKsmH0BWG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:36.394099', "current_sign_in_at" = '2014-11-14 22:23:36.394099', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:36.394453' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.2ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:36.407905' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (1.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 3.4ms | ActiveRecord: 1.1ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["value", "71537"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:36.453872', "updated_at" = '2014-11-14 22:23:36.454864' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.1ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"71537"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "71537"], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '71537' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9iffxhFV7p.Ha3GXG5UYUOSiENPdRuAkCQz1JYqdOOi0l5DC01RoS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:36.569488', "current_sign_in_at" = '2014-11-14 22:23:36.569488', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:36.570151' WHERE "users"."id" = 2  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 5ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:36.589738' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 1.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$fBN//N13YeFiBzfznIpI2OrrFPCjRP1zUKrVP9NdBeQplCsDxI/2a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:36.658383', "current_sign_in_at" = '2014-11-14 22:23:36.658383', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:36.658758' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:36.671905' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.8ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$NXhxh1dqWhdQoDMYUsC4CuOECj/bDzLTqSOndX1RG.np/ehfKVZ42"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:36.810177', "current_sign_in_at" = '2014-11-14 22:23:36.810177', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:36.810651' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:36.822609' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:36 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["value", "08383"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:36.865462', "updated_at" = '2014-11-14 22:23:36.866541' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (1.6ms) Rendered layouts/_messages.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 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:23:36.969040', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:23:36.969518' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$oq.bp7000t0/h8dN34ABWeAZ6gY0NtXcUikDA2mPXy2KAQ6bd4xy."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:36 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (4.0ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:37.026222', "current_sign_in_at" = '2014-11-14 22:23:37.026222', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:37.026636' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:37.038603' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms) Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 2ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "current_sign_in_at" = '2014-11-14 22:23:37.149682', "sign_in_count" = 2, "updated_at" = '2014-11-14 22:23:37.150146' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$OdL.lKiD0qRanK.GXsJ/1.AmfDHDi6UKHCKhrwHVte9ywzXztYyW2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_out" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 1ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:37.199642', "current_sign_in_at" = '2014-11-14 22:23:37.199642', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:37.200010' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:37.211988' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$62SF868iupm1vfoS8nb.GOI6xGCmiP0ZLl3K0zbTpk7yFSCPSjAKa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:37.335969', "current_sign_in_at" = '2014-11-14 22:23:37.335969', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:37.336343' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:37.348485' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 6ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:37 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["value", "53227"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:37.391537', "updated_at" = '2014-11-14 22:23:37.392532' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.3ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"53227"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "53227"], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '53227' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$fW.rOx3KNSwzXEF7y7FbQOsmtaq0tm5pUaCi7AhhxImPDDLpu5hZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:37.494817', "current_sign_in_at" = '2014-11-14 22:23:37.494817', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:37.495200' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:37.506155' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:37 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["value", "31447"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:37.551115', "updated_at" = '2014-11-14 22:23:37.552079' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.3ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"31447"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "31447"], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '31447' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$wyui1/HOVjdj9IVMbtHPrewYqMSWA37T6Naf/74LFW0pc3gC2L3ES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:37.610255', "current_sign_in_at" = '2014-11-14 22:23:37.610255', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:37.610711' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:37.623175' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:37 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["value", "59141"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:37.667683', "updated_at" = '2014-11-14 22:23:37.668921' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 80ms (Views: 3.8ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"59141"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "59141"], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '59141' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$mPg9rJhtT8DEL.aWE/RA8eyAn0d.IxjJdRvOFSH3AUnAN449QzINS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:37.781868', "current_sign_in_at" = '2014-11-14 22:23:37.781868', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:37.782224' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (1.3ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:37.794954' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 1.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 12ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:37 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["value", "39193"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:37.850748', "updated_at" = '2014-11-14 22:23:37.851672' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"39193"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "39193"], ["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '39193' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$ZzdoJ5sPq7r8TvCjE1NJF.EPlcgj1HmGoAzPxIa3.fOXdhtEEMnlC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.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 2014-11-14 17:23:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:37.901411', "current_sign_in_at" = '2014-11-14 22:23:37.901411', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:37.901973' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 5ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:37.916749' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (59.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 65ms (Views: 61.8ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:37 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (1.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$OVLkLc6kXPF5AUSsxCGBoe5xctelUvGPopDNEXAQ04Vmh7wv1QFxS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:38.035906', "current_sign_in_at" = '2014-11-14 22:23:38.035906', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:38.036271' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:38.047032' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$SUx2YxuyHpC5sD09kdRAuefNIhA/.a7ij2ARSPajH0giX254ip0wS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:38.092484', "current_sign_in_at" = '2014-11-14 22:23:38.092484', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:38.092834' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:38.104742' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$pWUCKcUmu5D1FcZA6127D.V/P76a.Bo839tojrY.Sdkn2hgqjGhnO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:38.222066', "current_sign_in_at" = '2014-11-14 22:23:38.222066', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:38.222644' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 6ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:38.239067' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"(406) 444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14064444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["phone_number", "14064444444"], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14064444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:38 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["value", "14181"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14064444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:38.274780', "updated_at" = '2014-11-14 22:23:38.275844' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.6ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Qgl2CQR/w6nFIO9OzGkZT.edPywTtXj074HCvkw7rq7w3C1ihkrVu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:38.305201', "current_sign_in_at" = '2014-11-14 22:23:38.305201', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:38.305566' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 63ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:38.375535' WHERE "gringotts_vaults"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 2) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:38 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["value", "01867"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:38.420290', "updated_at" = '2014-11-14 22:23:38.421443' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.2ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$7kCE1rbNmrHhqZ.ulyxVoOo9EXin4MEhJPHKcCNEa8UdYw/cwNT7u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:38.454185', "current_sign_in_at" = '2014-11-14 22:23:38.454185', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:38.454537' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:38.465670' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>""}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 CACHE (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 0.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$wJMfdZN9IN0QUi.kGwrZHe5rJwcidRMsAIYKL0PSWe5A5NnHZWYDy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:38.594842', "current_sign_in_at" = '2014-11-14 22:23:38.594842', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:38.595211' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.3ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:38.609865' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.4ms | ActiveRecord: 1.7ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.2ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.5ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"12345"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 CACHE (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '12345' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 0.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$VKh8fFZLRVmAd8AhgeuFGOvlsN4d5K9GyJVxrdCPLUrnoxC2Nqoxa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:38.681493', "current_sign_in_at" = '2014-11-14 22:23:38.681493', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:38.681842' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 67ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:38.757715' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.3ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:38 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["value", "45771"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:38.794505', "updated_at" = '2014-11-14 22:23:38.795453' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.4ms | ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 2ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:38 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["value", "65687"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:38.821023', "updated_at" = '2014-11-14 22:23:38.821912' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.4ms | ActiveRecord: 1.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Lp9WmANgWM9uHN5CPRjLfu77B.ZM4fL9.Aub6ZiD6.fos.E0cQDKu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.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 2014-11-14 17:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:38.853063', "current_sign_in_at" = '2014-11-14 22:23:38.853063', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:38.853563' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:38.864313' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (7.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:38 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["value", "37965"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:38.917223', "updated_at" = '2014-11-14 22:23:38.918077' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:38 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"37965"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "37965"], ["created_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:38 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '37965' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$qSGV20uVrIbBKzfiWq15reGKGbpQ/MxH9x5noWJvny0QKG6fNoLb2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.8ms) Rendered layouts/_navigation.html.erb (1.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:39.035001', "current_sign_in_at" = '2014-11-14 22:23:39.035001', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:39.035383' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:39.048037' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["value", "82220"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:39.093054', "updated_at" = '2014-11-14 22:23:39.093937' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"82220"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "82220"], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '82220' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 9ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$1TRUgQ7QRjCbMdm/VVBmced..ebXHQ63aaoHMVuFwy.ahE/soPLN2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.9ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) Rendered layouts/_navigation.html.erb (1.7ms) Rendered layouts/_messages.html.erb (0.5ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:39.147280', "current_sign_in_at" = '2014-11-14 22:23:39.147280', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:39.147704' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:39.159175' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["value", "92729"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:39.268669', "updated_at" = '2014-11-14 22:23:39.269558' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 78ms (Views: 3.7ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"92729"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "92729"], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '92729' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$m.jP6nOxYHYUn6X/6vcaTebtxk7xvAlGeax0TMHSuM0.y5QKr1xXW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:39.315786', "current_sign_in_at" = '2014-11-14 22:23:39.315786', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:39.316159' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:39.327364' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$M.MFN0ohtcmjdNTs/zvgqO/VqegVvmpC./PQ3caarO5TtOAdNKHtW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:39.354431', "current_sign_in_at" = '2014-11-14 22:23:39.354431', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:39.354801' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 3ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:39.365239' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["value", "64127"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:39.408958', "updated_at" = '2014-11-14 22:23:39.410008' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.2ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"F4!L"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "F4!L"], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$yYagyr7IXY5J4oQqBhPMVeMyknhNxuUsgigwLif6p9T5KHoOldViK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:39.520938', "current_sign_in_at" = '2014-11-14 22:23:39.520938', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:39.521364' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:39.533307' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["value", "32477"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:39.578547', "updated_at" = '2014-11-14 22:23:39.580036' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.2ms | ActiveRecord: 1.7ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"32477"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "32477"], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '32477' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$n9Blsq4OiYPQSRspRua6feBMjBh2Fp9laMqdupnS80iIDkFn2UK/e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:39.628353', "current_sign_in_at" = '2014-11-14 22:23:39.628353', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:39.628741' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:39.640708' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 5ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 14ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["value", "65995"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:39.795306', "updated_at" = '2014-11-14 22:23:39.796180' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 3.3ms | ActiveRecord: 1.6ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"65995"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "65995"], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '65995' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jTRdMiCd1RqyJ3ycKZVLXeSScgvyMDMES30Lbu23xkIuh6ykV4BSu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:39.863389', "current_sign_in_at" = '2014-11-14 22:23:39.863389', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:39.865208' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (3.9ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 8ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.4ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:39.887038' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.8ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.4ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 4ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (6.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (1.1ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 18ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:39 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:39 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["value", "11325"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:39 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.2ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:39.954198', "updated_at" = '2014-11-14 22:23:39.957329' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (4.7ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (5.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 23ms (Views: 7.7ms | ActiveRecord: 2.0ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"11325"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "11325"], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '11325' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 8ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$w7Zxae5xzh0XwQ25wY/rtuwTr5e8G0Mc4QSOPZbHu1lu7s8lhjDpC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.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 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:40.159095', "current_sign_in_at" = '2014-11-14 22:23:40.159095', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:40.159792' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 27ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 5ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:40.174554' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.3ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["value", "77543"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:40.222629', "updated_at" = '2014-11-14 22:23:40.223529' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"77543"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "77543"], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '77543' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$FoOwK0gaDOAMXOlj9alireEdg2kMhlYrqfHDFWyqLVZUgP.GFpj0K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:40.269265', "current_sign_in_at" = '2014-11-14 22:23:40.269265', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:40.269696' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:40.281435' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["value", "84609"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:40.324702', "updated_at" = '2014-11-14 22:23:40.325615' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.2ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"84609"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "84609"], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '84609' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$VpqkItqrdPrp3aeQI1riLe1IYxeSVbXfsCA/bCSLFzupAD8y4kO.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.7ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.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 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:40.433234', "current_sign_in_at" = '2014-11-14 22:23:40.433234', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:40.433591' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:40.445023' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["value", "85387"], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:40.487843', "updated_at" = '2014-11-14 22:23:40.488969' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"85387"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "85387"], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 1 AND "gringotts_attempts"."code_received" = '85387' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$oQd1TZ0T5BBWx9iNBa0vtuUR8NBir8r9P7zoNn6BW0qdLXdMZ5ULy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:40.537766', "current_sign_in_at" = '2014-11-14 22:23:40.537766', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:40.538115' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 3ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:40.548954' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$fJbJ0KK7Gd.hgLShi1/2K.pD0GLVBvqCdPt7Y7mgxGB4ephdc9QI2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:40.658600', "current_sign_in_at" = '2014-11-14 22:23:40.658600', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:40.658960' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:40.671155' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$9CwKTGLGh3PEITGdGy2uAOsaIeKI1Q9nQuiWOWwIa/t7WdhXmwdEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:40.706640', "current_sign_in_at" = '2014-11-14 22:23:40.706640', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:40.707020' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:40.719105' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["value", "09206"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:40.764633', "updated_at" = '2014-11-14 22:23:40.765508' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.2ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$0ltw1aEwXoi4PA7975CkJ.xdEB.AbQRa3CYVjA0yW84i5oaVUSIXi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:40.801823', "current_sign_in_at" = '2014-11-14 22:23:40.801823', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:40.802229' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:40.814109' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$F6pAkuPwjoSnrm/98JujaexJ6.z16ai1zg31FwyOPxmrlwb9tHFG6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (71.9ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 76ms (Views: 74.1ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:40.912001', "current_sign_in_at" = '2014-11-14 22:23:40.912001', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:40.912475' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:40.927741' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:40 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:40 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["value", "21571"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:40 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:40.973789', "updated_at" = '2014-11-14 22:23:40.974706' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$/uL8k.GMNttXZPhRqT3FoOaHtuk/wYtUAFtAzewiiMOG3FUOiie5S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:41.030927', "current_sign_in_at" = '2014-11-14 22:23:41.030927', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:41.031576' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:41.106908' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.5ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 70ms (Views: 2.8ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Yfv43glhB2QInUliGNC/9ux5px6fRN0zSiHrYcISW1ROIJRGVJBMe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:41.136050', "current_sign_in_at" = '2014-11-14 22:23:41.136050', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:41.136416' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:41.148608' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.7ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.7ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:41 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["value", "41923"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:41.196127', "updated_at" = '2014-11-14 22:23:41.197169' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.5ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"41923"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "41923"], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '41923' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$PEW1tidwWKF4fAbNEjD4QOyC.iDNe1inJYXMiFt1QzxJpZNfyZi.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:41.251144', "current_sign_in_at" = '2014-11-14 22:23:41.251144', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:41.251566' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:41.263573' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.0ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.4ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 9ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:41 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["value", "27813"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:41.375694', "updated_at" = '2014-11-14 22:23:41.376796' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.1ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 3.9ms | ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$dZRqeelW0BWpwZjAC7PxEe3rgEtGNwN7zSObskVdhj1zswclwoN4W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:41.436722', "current_sign_in_at" = '2014-11-14 22:23:41.436722', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:41.437076' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:41.448735' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.9ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 8ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:41 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["value", "58176"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:41.555179', "updated_at" = '2014-11-14 22:23:41.556089' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.8ms | ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered home/index.html.erb within layouts/application (0.1ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 3ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:41 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["value", "99162"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 2], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:41.586985', "updated_at" = '2014-11-14 22:23:41.587816' WHERE "gringotts_deliveries"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (1.0ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.8ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 4.1ms | ActiveRecord: 1.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$jYx9uvefuzQN8VoFztzjPu7mREe6.Z6ARmp9VVI42YJH83r0XKfSC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:41.624537', "current_sign_in_at" = '2014-11-14 22:23:41.624537', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:41.624943' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:41.637088' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 1 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:41 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["value", "49790"], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:41.682980', "updated_at" = '2014-11-14 22:23:41.683849' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 1 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.9ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.6ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.3ms | ActiveRecord: 1.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$5Q7.1iVu8AWErN9w2EpGL.7AD6mehaydCK2uR/Tl0vGD/ufKJ3SVu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:41.797278', "current_sign_in_at" = '2014-11-14 22:23:41.797278', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:41.797636' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:41.809372' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$YQmurvxwCO4VUEGvzSzcC.zPbhNjCZwe4fLv9HgWptT2Kqsu6W/vm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:41.836706', "current_sign_in_at" = '2014-11-14 22:23:41.836706', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:41.837064' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:41.859873' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.6ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.9ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:41 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["value", "52336"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["vault_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:41.906400', "updated_at" = '2014-11-14 22:23:41.907288' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.2ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>""}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$Wge2wtnQyVWct8D96gBMMuKUxN2CV/6LqU7Jnz97KUcTJD0EnM44y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (67.4ms) Rendered layouts/_navigation.html.erb (0.8ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 71ms (Views: 69.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:42.022127', "current_sign_in_at" = '2014-11-14 22:23:42.022127', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:42.022630' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.3ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:42.036416' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 2.3ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$EAFvAG3YWV3dhNSJFY7B0.hbKam9I8LLp0EV59yssbHLUlR51IFYu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:42.070558', "current_sign_in_at" = '2014-11-14 22:23:42.070558', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:42.070952' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:42.083322' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.4ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:42 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["value", "13436"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:42.129683', "updated_at" = '2014-11-14 22:23:42.131001' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.3ms | ActiveRecord: 1.4ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"asdf"}, "commit"=>"Verify Code"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "asdf"], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$JSOmeePnLNCtPU.F.YNYoe9tY/sJDbb4j1XGibRSdw.o3hJBgO5Cq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (3.5ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:42.186727', "current_sign_in_at" = '2014-11-14 22:23:42.186727', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:42.187081' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:42.197565' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$d15C6w31.PeUXlO.rNtfyuvkaRWS2629S/Kh5LQqN0NKLBGyJPw2u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:42.286394', "current_sign_in_at" = '2014-11-14 22:23:42.286394', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:42.286770' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:42.297696' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 2ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (0.9ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:42 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["value", "99079"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:42.340711', "updated_at" = '2014-11-14 22:23:42.341626' WHERE "gringotts_deliveries"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 1.3ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "gringotts_codes" SET "expires_at" = '2014-11-14 21:53:42.350652', "updated_at" = '2014-11-14 22:23:42.351273' WHERE "gringotts_codes"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"99079"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "99079"], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$zqngtYRYU03EaxRpe6vfRufIvOQ7qux8QfRFUN8bR7z5.9qf1arx6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) Rendered layouts/_navigation.html.erb (0.7ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:42.390282', "current_sign_in_at" = '2014-11-14 22:23:42.390282', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:42.390649' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 2], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 2 AND "gringotts_vaults"."id" != 1 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:42.402073' WHERE "gringotts_vaults"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "example@example.com"], ["encrypted_password", "$2a$04$iKQtpUXNnGVvIULCIonMieeXswWzAdoKSihIjqXEg6UW2RRHvi4oO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/conroy/.rvm/gems/ruby-2.0.0-p353@gringotts/gems/devise-2.2.8/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) Rendered layouts/_navigation.html.erb (0.6ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"example@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'example@example.com' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2014-11-14 22:23:42.429257', "current_sign_in_at" = '2014-11-14 22:23:42.429257', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-11-14 22:23:42.429683' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms Started GET "/" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_vaults" ("confirmed_at", "locked_at", "owner_id", "owner_type", "prompt_seen_at") VALUES (?, ?, ?, ?, ?) [["confirmed_at", nil], ["locked_at", nil], ["owner_id", 3], ["owner_type", "User"], ["prompt_seen_at", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/prompt Completed 302 Found in 4ms Started GET "/authentication/prompt" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#prompt as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_vaults" WHERE ("gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."id" != 2 AND "gringotts_vaults"."owner_type" = 'User') LIMIT 1  (0.1ms) UPDATE "gringotts_vaults" SET "prompt_seen_at" = '2014-11-14 22:23:42.440963' WHERE "gringotts_vaults"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/prompt.html.erb within layouts/application (0.4ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started GET "/users/edit" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Devise::RegistrationsController#edit as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Rendered devise/registrations/edit.html.erb within layouts/application (3.0ms) Rendered layouts/_navigation.html.erb (0.5ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.4ms) Started GET "/authentication/" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Redirected to http://www.example.com/authentication/setup Completed 302 Found in 3ms Started GET "/authentication/setup" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#setup as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/settings/setup.html.erb within layouts/application (1.1ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/authentication/settings/update" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::SettingsController#update as HTML Parameters: {"utf8"=>"✓", "settings"=>{"phone_number"=>"444-444-4444"}, "commit"=>"Save and continue"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 CACHE (0.0ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SELECT 1 FROM "gringotts_settings" WHERE "gringotts_settings"."phone_number" = '14444444444' LIMIT 1 SQL (0.3ms) INSERT INTO "gringotts_settings" ("active", "created_at", "phone_number", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["active", false], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["phone_number", "14444444444"], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."vault_id" = 2 AND "gringotts_settings"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "gringotts_settings" WHERE ("gringotts_settings"."phone_number" = '14444444444' AND "gringotts_settings"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/authentication/verify Completed 302 Found in 7ms Started GET "/authentication/verify" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::VerificationController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_codes" ("created_at", "expires_at", "updated_at", "value", "vault_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["expires_at", Fri, 14 Nov 2014 22:28:42 UTC +00:00], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["value", "13263"], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 SQL (0.2ms) INSERT INTO "gringotts_deliveries" ("code_id", "created_at", "delivered_at", "error_message", "phone_number", "strategy_class", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["code_id", 1], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["delivered_at", nil], ["error_message", nil], ["phone_number", "14444444444"], ["strategy_class", "Gringotts::DeliveryStrategies::TwilioSMSStrategy"], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) UPDATE "gringotts_deliveries" SET "delivered_at" = '2014-11-14 22:23:42.554011', "updated_at" = '2014-11-14 22:23:42.554914' WHERE "gringotts_deliveries"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Rendered /Users/conroy/gringotts/app/views/gringotts/verification/_code_form.html.erb (0.8ms) Rendered /Users/conroy/gringotts/app/views/gringotts/verification/confirm.html.erb within layouts/application (1.5ms) Rendered layouts/_navigation.html.erb (0.4ms) Rendered layouts/_messages.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 3.3ms | ActiveRecord: 1.5ms) Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "13263"], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["successful", true], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/authentication/attempt" for 127.0.0.1 at 2014-11-14 17:23:42 -0500 Processing by Gringotts::VerificationController#attempt as HTML Parameters: {"utf8"=>"✓", "attempt"=>{"code_received"=>"13263"}, "commit"=>"Verify Code"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."owner_id" = 3 AND "gringotts_vaults"."owner_type" = 'User' LIMIT 1 Gringotts::Settings Load (0.1ms) SELECT "gringotts_settings".* FROM "gringotts_settings" WHERE "gringotts_settings"."vault_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "gringotts_attempts" ("code_received", "created_at", "successful", "updated_at", "vault_id") VALUES (?, ?, ?, ?, ?) [["code_received", "13263"], ["created_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["successful", false], ["updated_at", Fri, 14 Nov 2014 22:23:42 UTC +00:00], ["vault_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Gringotts::Code Load (0.1ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1 Gringotts::Vault Load (0.1ms) SELECT "gringotts_vaults".* FROM "gringotts_vaults" WHERE "gringotts_vaults"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "gringotts_codes".* FROM "gringotts_codes" WHERE "gringotts_codes"."vault_id" = 2 ORDER BY "gringotts_codes"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "gringotts_attempts" WHERE "gringotts_attempts"."vault_id" = 2 AND "gringotts_attempts"."code_received" = '13263' AND "gringotts_attempts"."successful" = 't' Completed 500 Internal Server Error in 7ms